3
1
For research purposes, I want to send transactions to the Bitcoin network and measure when they are received (yes, I am aware of existing websites which have statistics about these averages, but they can't provide me with more detailed statistics).
Specifically, I want to:
- Send transactions through multiple nodes that should have different outbound neighbors (I don't want all my transactions to be tunneled through the same neighbors).
- Receive the transactions at other nodes under my control (for measurements), but I would like to avoid having these nodes validate the entire blockchain first.
- Avoid unintended spam attack.
Should I use full nodes, half nodes, or something else? Is there a well documented and easy to read implementation that I might find useful for my purpose (C++ isn't usually my go-to tool)? Any sort of advice will be highly appreciated.
If I am not mistaken, this should not cause a spam attack since the transactions will all come from newly created coins (if that is the right term) and should be prioritized below almost all the real transactions, but please correct me if I got this wrong.
P.S. please assume I am an idiot, so spell out stuff like "oh, just use RPC"... thanks!
This is very helpful - thanks! I will definitely keep you posted. Can you elaborate more on how larger fees affect propagation? I was not aware of the relation (and it will affect my research budget, or the scale of my experiment) – UriCS – 2017-05-26T05:46:24.803
This basically depends on the minrelaytxfee on the node https://github.com/bitcoin/bitcoin/blob/v0.11.0/doc/release-notes.md#transaction-flooding. Only thing is tx fee doesn't need to be very low. I don't think you will get any difference in propagation after tx fee crosses a barrier.
– dark knight – 2017-05-26T05:56:43.940Got it. I will experiment, but do you have any notion of the approximate satoshi/Byte we are talking about? I want to plan ahead correctly. according to https://bitcoinfees.21.co/ it appears even 1-30 satoshi work. Thanks again!
– UriCS – 2017-05-26T06:04:55.047Default value is 1000 satoshi per KB https://bitcoin.stackexchange.com/questions/48235/what-is-the-minrelaytxfee. So, yes even 1 satoshi/byte could work.
– dark knight – 2017-05-26T06:11:47.530You rock dude. I would upvote you but my account is too noob to allow it, and my stack overflow is too noob to merge my reputation across domains. Thanks! – UriCS – 2017-05-26T06:14:04.953