modified: Getting-Started-with-MMGen-Wallet.md
modified: MMGen-Wallet-Quick-Start-with-Regtest-Mode.md
parent
055840a73d
commit
74366ede92
2 changed files with 13 additions and 13 deletions
|
|
@ -954,7 +954,7 @@ MMGen Wallet gives you several options for dealing with transaction fees.
|
|||
|
||||
Firstly, and most simply, you may do nothing, in which case the fee will be
|
||||
calculated automatically using bitcoind’s `estimatesmartfee` RPC call. You can
|
||||
adjust the estimated fee by any factor using the `--tx-fee-adj` option, a handy
|
||||
adjust the estimated fee by any factor using the `--fee-adj` option, a handy
|
||||
feature when you need transactions to confirm a bit more quickly. If network
|
||||
fee estimation fails for any reason, you’ll be prompted to enter the fee
|
||||
manually.
|
||||
|
|
@ -999,7 +999,7 @@ Create, sign and send a BIP 125 replaceable transaction with a fee of 50
|
|||
satoshis per byte:
|
||||
|
||||
```text
|
||||
$ mmgen-txdo --rbf --tx-fee 50s 1AmkUxrfy5dMrfmeYwTxLxfIswUCcpeysc,0.1 0FDE89AB:S:5
|
||||
$ mmgen-txdo --rbf --fee 50s 1AmkUxrfy5dMrfmeYwTxLxfIswUCcpeysc,0.1 0FDE89AB:S:5
|
||||
...
|
||||
Signed transaction written to file 'FEDCBB[0.1,50].sigtx'
|
||||
...
|
||||
|
|
@ -1016,7 +1016,7 @@ If the transaction fails to confirm in your desired timeframe, then create, sign
|
|||
and send a replacement transaction with a higher fee, say 100 satoshis per byte:
|
||||
|
||||
```text
|
||||
$ mmgen-txbump --send --tx-fee 100s --output-to-reduce c 'FEDCBB[0.1,50].sigtx'
|
||||
$ mmgen-txbump --send --fee 100s --output-to-reduce c 'FEDCBB[0.1,50].sigtx'
|
||||
...
|
||||
Signed transaction written to file 'DAE123[0.1,100].sigtx'
|
||||
...
|
||||
|
|
@ -1032,7 +1032,7 @@ has a different identifier, since it’s a new transaction.
|
|||
|
||||
If this transaction also fails to confirm, then repeat the above step as many
|
||||
times as necessary to get a confirmation, increasing the fee each time. The
|
||||
only thing you have to modify with each iteration is the argument to `--tx-fee`.
|
||||
only thing you have to modify with each iteration is the argument to `--fee`.
|
||||
To reduce your typing even further, use the `--yes` switch to skip all
|
||||
non-essential prompts.
|
||||
|
||||
|
|
@ -1042,7 +1042,7 @@ To achieve the same result as in the above example using a cold wallet, just
|
|||
create the initial transaction with `mmgen-txcreate` instead of `mmgen-txdo`:
|
||||
|
||||
```text
|
||||
$ mmgen-txcreate --rbf --tx-fee 50s 1AmkUxrfy5dMrfmeYwTxLxfIswUCcpeysc,0.1 89ABCDEF:S:5
|
||||
$ mmgen-txcreate --rbf --fee 50s 1AmkUxrfy5dMrfmeYwTxLxfIswUCcpeysc,0.1 89ABCDEF:S:5
|
||||
...
|
||||
Transaction written to file 'FEDCBC[0.1,50].rawtx'
|
||||
```
|
||||
|
|
@ -1051,9 +1051,9 @@ Now create a series of transactions with incrementally increasing fees for
|
|||
offline signing:
|
||||
|
||||
```text
|
||||
$ mmgen-txbump --tx-fee 100s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
|
||||
$ mmgen-txbump --tx-fee 150s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
|
||||
$ mmgen-txbump --tx-fee 200s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
|
||||
$ mmgen-txbump --fee 100s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
|
||||
$ mmgen-txbump --fee 150s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
|
||||
$ mmgen-txbump --fee 200s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
|
||||
```
|
||||
|
||||
To speed things up, add the `--yes` switch to make `mmgen-txbump` completely
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ Type uppercase 'YES' to confirm: YES
|
|||
just imported:
|
||||
|
||||
```text
|
||||
$ mmgen-tool --bob listaddresses showempty=1
|
||||
$ mmgen-tool --bob listaddresses
|
||||
MMGenID ADDRESS COMMENT BALANCE
|
||||
1163DDF1:C:1 mw42oJ94yRA6ZUNSzmMpjZDR74JNyvqzzZ - 0
|
||||
1163DDF1:C:2 n1oszhfAyRrHi7qJupyzaWXTcpMQGsGJEf - 0
|
||||
|
|
@ -70,7 +70,7 @@ $ mmgen-regtest send mw42oJ94yRA6ZUNSzmMpjZDR74JNyvqzzZ 500
|
|||
7. Make sure the funds reached their destination:
|
||||
|
||||
```text
|
||||
$ mmgen-tool --bob listaddresses showempty=1
|
||||
$ mmgen-tool --bob listaddresses
|
||||
MMGenID ADDRESS COMMENT BALANCE
|
||||
1163DDF1:C:1 mw42oJ94yRA6ZUNSzmMpjZDR74JNyvqzzZ - 500
|
||||
1163DDF1:C:2 n1oszhfAyRrHi7qJupyzaWXTcpMQGsGJEf - 0
|
||||
|
|
@ -116,7 +116,7 @@ TOTAL: 500 BTC
|
|||
`S:3`. Specify a fee of 20 satoshis/byte and make the output quieter:
|
||||
|
||||
```text
|
||||
$ mmgen-txdo --alice --tx-fee=20s --quiet 9304C211:S:2,300 9304C211:S:3
|
||||
$ mmgen-txdo --alice --fee=20s --quiet 9304C211:S:2,300 9304C211:S:3
|
||||
...
|
||||
Type uppercase 'YES' to confirm: YES
|
||||
Transaction sent: 78ca853816b55527b42ca8784c887a5f482c752522f914d2f17d6afcd8a3b076
|
||||
|
|
@ -153,7 +153,7 @@ $ mmgen-regtest mempool
|
|||
16. List Alice’s addresses. Note that Alice has lost a bit to transaction fees:
|
||||
|
||||
```text
|
||||
$ mmgen-tool --alice listaddresses showempty=1
|
||||
$ mmgen-tool --alice listaddresses
|
||||
MMGenID ADDRESS COMMENT BALANCE
|
||||
9304C211:S:1 2N3HhxasbRvrJyHg72JNVCCPi9EUGrEbFnu - 0
|
||||
9304C211:S:2 2N8w8qTupvd9L9wLFbrn6UhdfF1gadDAmFD - 300
|
||||
|
|
@ -165,7 +165,7 @@ TOTAL: 499.999967 BTC
|
|||
`S:1` address. This time Alice specifies an absolute fee in BTC.
|
||||
|
||||
```text
|
||||
$ mmgen-txdo --alice --tx-fee=0.0001 --quiet 9304C211:S:1 n1oszhfAyRrHi7qJupyzaWXTcpMQGsGJEf,10
|
||||
$ mmgen-txdo --alice --fee=0.0001 --quiet 9304C211:S:1 n1oszhfAyRrHi7qJupyzaWXTcpMQGsGJEf,10
|
||||
...
|
||||
Enter a range or space-separated list of outputs to spend: 1
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue