I want to run a "rude" Bitcoin full node. As an experiment. Will build from source and run on a decent machine with a backbone fiber connection.
(For clarity, this has nothing to do with just pimping the config-file.)
Looking at the source code for Bitcoin core, my first changes will be to modify IsStandard() and IsStandardTx() in
https://github.com/bitcoin/bitcoin/blob/master/src/policy/policy.cppto always return "True", i.e. I want to relay all kinds of ugly transactions to the network, and not have any of them deleted from my mempool.
What else can we think of?
Hm, fees. I don't my node to say no to zero satoshi transaction fees.
What do I change here (and/or elsewhere)?https://github.com/bitcoin/bitcoin/blob/master/src/policy/fees.cppWhat more... the maximum number of different sorts connections needs to be addressed, here:
https://github.com/bitcoin/bitcoin/blob/master/src/net.hI'm thinking that several numbers must be changed here, especially the two values that end with "=8" (I can't write the names of the functions out, Cloudflare - interestingly - blocks me when I try to write them) should be changed to "=500" or so.
So far and in conclusion, I have: Whack "IsStandard", allow zero satoshi tx fees, and increase the number of allowed simultaneous connections to big numbers.
Your turn! Hit me with suggestions what a "rude" node should do (and please point me to the right places in the source code).