Having run Bitcoin Core with Luke's patch and with permitbaremultisig=0 and datacarrier=0 in bitcoin.conf for a couple of weeks I finally decided to make a switch to Bitcoin Knots.
The following options seem to be relevant to the matter of limiting spam (inscriptions not applicable to finance, BRC-20, ordinals and the like).
# Relay and mine non-OP_RETURN datacarrier injection (default: 0)
#acceptnonstddatacarrier=1
Relay and mine "non-standard" transactions (default: 0)
#acceptnonstdtxn=1
Equivalent bytes per sigop in transactions for relay and mining
(default: 20)
#bytespersigop=1
Minimum bytes per sigop in transactions we relay and mine (default: 20)
#bytespersigopstrict=1
Relay and mine data carrier transactions (default: 1)
#datacarrier=1
Treat extra data in transactions as at least N vbytes per actual byte
(default: 1)
#datacarriercost=1
Maximum size of data in data carrier transactions we relay and mine
(default: 42)
#datacarriersize=1
Maximum size of scripts we relay and mine (default: 1650)
#maxscriptsize=1
Relay non-P2SH multisig (default: 0)
#permitbaremultisig=1
Relay legacy pubkey outputs (default: 0)
#permitbarepubkey=1
How might I set up the above parameters in order to stop or limit spam?
I noticed that datacarrier is set to 1 by default. Why is that so? Is it because of other, more effective settings such as acceptnonstdtxn and acceptnonstddatacarrier being set to 0 by default?
If I want to lower the maximum size of data in datacarrier transaction to less than 42 bytes, lets say to 35 bytes, should I apply datacarriersize=35? What are the pros and cons of lowering this parameter below the current default of 42 bytes?
dustdynamicoption. I've set it todustdynamic=target:1008while doubling the defaultdustrelayfeeto0.00006. – John Smith Mar 30 '24 at 19:27