-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update the staking command #1
base: main
Are you sure you want to change the base?
Conversation
LeeNorth
commented
May 18, 2024
- Add the re-staking functionality to the stake command.
- Update the parameter explanations for the stake command.
@@ -73,6 +74,7 @@ program | |||
witness: args.witness, | |||
bitcoinRpc: args.bitcoinrpc, | |||
fee: fee || args.fee, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0x4092f0eF91bF408aad7B611915A82537BAaa573b
@@ -46,7 +46,7 @@ program | |||
.description("Stake BTC") | |||
.requiredOption("-acc, --account <account>", "The Bitcon address used to stake.") | |||
.requiredOption("-privkey, --privatekey <privatekey>", "The private key used to sign the transaction, which should be associated with --account. Hex format.") | |||
.requiredOption("-amt, --amount <amount>", "Amount of BTC to stake, measured in SAT.") | |||
.option("-amt, --amount <amount>", "Amount of BTC to stake, measured in SAT, default to all amount of BTC") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
71 core
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0x4092f0eF91bF408aad7B611915A82537BAaa573b
@@ -46,7 +46,7 @@ program | |||
.description("Stake BTC") | |||
.requiredOption("-acc, --account <account>", "The Bitcon address used to stake.") | |||
.requiredOption("-privkey, --privatekey <privatekey>", "The private key used to sign the transaction, which should be associated with --account. Hex format.") | |||
.requiredOption("-amt, --amount <amount>", "Amount of BTC to stake, measured in SAT.") | |||
.option("-amt, --amount <amount>", "Amount of BTC to stake, measured in SAT, default to all amount of BTC") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
71 core