SatoshiPortal / cyphernode

Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
362 stars 68 forks source link

RBF+CPFP monster #301

Open BullishNode opened 1 year ago

BullishNode commented 1 year ago

example: 4 ancestors of 200 vbytes each, for total of 1,000 vbytes

example: 4 ancestors at 5 sats/vbyte each is 4000 sats, plus the transaction we want to RBF at 10 sats/vbyte which is 2000 sats, for a total of 6000 sats.

example: 6 sats/vbyte

example: 20 sats/vbyte

1000 vbytes * 20 sats/vbyte = 20,000 sats

20,000 sats / 200 bytes = 100 sats/vbyte