Dealing with the block chain dust spam attack
Posted: Wed Jan 25, 2012 9:28 am
I've create some patches to try to deal with the current ongoing spam dust transaction attack. They are in my github fork. I've done pull requests for the namecoin/namecoin repository.
Pull request 7 applies the fixes that coblee did for litecoin to stop the dust coins in a wallet from being used during coin selection. It also adds the getmemorypool rpc command.
Pull request 8 does the following:
- Changes the minimum transaction fee from 0.0005 to 0.005. Maybe this should even be higher? Namecoins are cheap.
- Changes the threshold for when fees increase due to the block becoming full. the current spam attack is set just under the current threshold.
- Reduces the free transaction area from 27,000 to 9,000.
- Increases the minimum fee for dust transactions. Currently the fee is set to a constant no matter how many dust outputs there are. This sets it based on the number of dust outputs. Maybe this should penalize even more?
Thoughts? Will this be enough? Is vinced around?
Pull request 7 applies the fixes that coblee did for litecoin to stop the dust coins in a wallet from being used during coin selection. It also adds the getmemorypool rpc command.
Pull request 8 does the following:
- Changes the minimum transaction fee from 0.0005 to 0.005. Maybe this should even be higher? Namecoins are cheap.
- Changes the threshold for when fees increase due to the block becoming full. the current spam attack is set just under the current threshold.
- Reduces the free transaction area from 27,000 to 9,000.
- Increases the minimum fee for dust transactions. Currently the fee is set to a constant no matter how many dust outputs there are. This sets it based on the number of dust outputs. Maybe this should penalize even more?
Thoughts? Will this be enough? Is vinced around?