Bitcoin

mempool – How do I configure bitcoin.conf in Bitcoin Knots’ to prevent spam and microtransactions?

After running Bitcoin Core with Luke’s patch: permitbaremultisig=0 and datacarrier=0 In ~ bitcoin.conf After a few weeks I finally decided to switch to Bitcoin Knots. The following options seem to be related to the issue of limiting spam (inscriptions that do not apply to financial, BRC-20, ordinal, etc.):


# 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 should I set the above parameters to stop or limit spam?

i noticed it datacarrier is set to 1 Basically. Why is it like this? Is it because of other settings that are more effective, such as: acceptnonstdtxn and acceptnonstddatacarrier set to 0 Basically?

Do I need to apply to lower the maximum data size for data carrier transactions to less than 42 bytes (e.g. 35 bytes)? datacarriersize=35? What are the pros and cons of lowering this parameter below its current default of 42 bytes?

Related Articles

Back to top button