mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-25 09:28:25 +00:00
Edited appdx-bitcore.asciidoc with Atlas code editor
This commit is contained in:
parent
73d5d38a53
commit
d42130d170
@ -10,7 +10,7 @@
|
||||
|
||||
* Bitcoin full node (bitcore-node)
|
||||
* Block explorer (insight)
|
||||
* Block, transaction and wallet utilities (bitcore-lib)
|
||||
* Block, transaction, and wallet utilities (bitcore-lib)
|
||||
* Communicating directly with Bitcoin's P2P network (bitcore-p2p)
|
||||
* Seed entropy mnemonic generation (bitcore-mnemonic)
|
||||
* Payment protocol (bitcore-payment-protocol)
|
||||
@ -91,7 +91,7 @@ Broadcasting a transaction to the Bitcoin network
|
||||
1. Copy the code below into a file called _broadcast.js_.
|
||||
2. The +tx+ and +rbfTx+ variables are the output of +tx.serialize()+ and +rbfTx.serialize()+, respectively.
|
||||
3. In order to replace-by-fee, the peer must support bitcoind option +mempoolreplace+ and have it set to +1+.
|
||||
4. Run the file: node _broadcast.js_((("", startref="bitcore17")))
|
||||
4. Run the file node _broadcast.js_((("", startref="bitcore17"))):
|
||||
|
||||
----
|
||||
var p2p = require('bitcore-p2p');
|
||||
|
Loading…
Reference in New Issue
Block a user