Sunday, December 22, 2024

mempool – How do I arrange bitcoin.conf in Bitcoin Knots’ to cease spam and low worth transactions?

Having run Bitcoin Core with Luke’s patch and with permitbaremultisig=0 and datacarrier=0 in bitcoin.conf for a few weeks I lastly determined to make a change to Bitcoin Knots.
The next choices appear to be related to the matter of limiting spam (inscriptions not relevant 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

# Equal bytes per sigop in transactions for relay and mining
# (default: 20)
#bytespersigop=1

# Minimal bytes per sigop in transactions we relay and mine (default: 20)
#bytespersigopstrict=1

# Relay and mine information provider transactions (default: 1)
#datacarrier=1

# Deal with additional information in transactions as at the least N vbytes per precise byte
# (default: 1)
#datacarriercost=1

# Most measurement of information in information provider transactions we relay and mine
# (default: 42)
#datacarriersize=1

# Most measurement 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 would possibly I arrange the above parameters with a purpose to cease or restrict spam?

I seen that datacarrier is about to 1 by default. Why is that so? Is it due to different, more practical settings comparable to acceptnonstdtxn and acceptnonstddatacarrier being set to 0 by default?

If I wish to decrease the utmost measurement of information in datacarrier transaction to lower than 42 bytes, let’s imagine to 35 bytes, ought to I apply datacarriersize=35? What are the professionals and cons of decreasing this parameter under the present default of 42 bytes?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles