bitcoin-pow / BitcoinPoW

BitcoinPoW
https://bitcoin-pow.org
MIT License
16 stars 6 forks source link

25-update-tx-command-to-prevent-abandoned-txs #26

Closed bitcoin-pow closed 7 months ago

bitcoin-pow commented 7 months ago

The new feature is enabled when setting the num_sends to -1, or by not specifying and using the default value. Once a tx is sent, the code will wait for it to be confirmed in a block before attempting to send another tx.

Ex below uses the default num_sends so feature is enabled: Send Billions of BTCW transactions with 3 output addresses in the amount of 0.00001, a fee of 400 satoshi/vB, and RBF enabled

bitcoin-pow-cli tx "1Ey8iHybCu28ciQG489vrJHYjpWwD7ZgRe 1HUGchYGqt3or2ZyB2a3cVaRNrua428LzW 17aKiEDvVN2YASnFBKzpirdB7R4UPaGtpQ" 0.00001 400

Ex below does NOT use the default num_sends so feature is disabled: Send 32 BTCW transactions with 3 output addresses in the amount of 0.00001, a fee of 400 satoshi/vB, and RBF enabled

bitcoin-pow-cli tx "1Ey8iHybCu28ciQG489vrJHYjpWwD7ZgRe 1HUGchYGqt3or2ZyB2a3cVaRNrua428LzW 17aKiEDvVN2YASnFBKzpirdB7R4UPaGtpQ" 0.00001 400 32