What is the correct way to send and receive transactions?
My best guess is that you create a Pool object, and then
- to send a tx you iterate the Peers in the pool and manually send a transaction message?
however I dont see a way to actually iterate the peers in a pool.
Would you have to keep manually rebroadcasting it if it drops out of the mempool of your peers?
- to receive a tx you listen for inventory message on pool with given txid. BitCoinJ has the concept of transaction confidence, which I think depends on how many of your peers presently see the tx, is there any such concept in bitcore?