Commit Graph

22197 Commits

Author SHA1 Message Date
Jack Grigg
abf5dd31af Add static asserts to ensure CONTINUE_EXECUTION doesn't collide 2018-04-12 18:11:46 -06:00
Karl-Johan Alm
3b26f5c361 Removed using namespace std from bitcoin-cli/-tx and added std:: in appropriate places. 2018-04-12 18:10:04 -06:00
UdjinM6
c06245c1e3 Every main()/exit() should return/use one of EXIT_ codes instead of magic numbers 2018-04-12 18:10:04 -06:00
UdjinM6
fadbbe1e04 Fix exit codes:
- `--help`, `--version` etc should exit with `0` i.e. no error ("not enough args" case should still trigger an error)
- error reading config file should exit with `1`

Slightly refactor AppInitRPC/AppInitRawTx to return standard exit codes (EXIT_FAILURE/EXIT_SUCCESS) or CONTINUE_EXECUTION (-1)
2018-04-12 18:10:04 -06:00
Jonas Schnelli
f11fb32967 [Bitcoin-Tx] Add tests for sequence number support 2018-04-12 18:10:04 -06:00
Jonas Schnelli
c09d76ea3c [bitcoin-tx] allow to set nSequence number over the in= command 2018-04-12 18:10:04 -06:00
Jonas Schnelli
216e94fb24 [RPC] createrawtransaction: add option to set the sequence number per input 2018-04-12 18:10:04 -06:00
Puru
e8f5b0278e bitcoin-cli.cpp: Use symbolic constant for exit code 2018-04-12 18:10:04 -06:00
Wladimir J. van der Laan
5e39c5a655 doc: mention bitcoin-cli -stdin in release notes 2018-04-12 18:10:04 -06:00
Wladimir J. van der Laan
21e33231af rpc: Input-from-stdin mode for bitcoin-cli
Implements #7442 by adding an option `-stdin` which reads
additional arguments from stdin, one per line.

For example

```bash
echo -e "mysecretcode\n120" | src/bitcoin-cli -stdin walletpassphrase
echo -e "walletpassphrase\nmysecretcode\n120" | src/bitcoin-cli -stdin
```
2018-04-12 18:08:17 -06:00
Tom Harding
6c9d672f3c Add optional locktime to createrawtransaction
A non-zero locktime also causes input sequences to be set to
non-max, activating the locktime.
2018-04-12 18:08:17 -06:00
Jonathan "Duke" Leto
622c9e4eef fix 2018-04-12 14:52:33 -07:00
Jonathan "Duke" Leto
f2173f8cf9 Prevent core dumps from invalid maxpairs 2018-04-12 14:24:21 -07:00
Homu
3e7b5f23e4 Auto merge of #3081 - str4d:sapling-activation-logic, r=str4d
Add Sapling to upgrade list
2018-04-12 12:32:50 -07:00
jl777
cf54fc3881 Test 2018-04-12 22:03:52 +03:00
jl777
4e13218a0e Test 2018-04-12 21:13:16 +03:00
Jack Grigg
176fada24d Add Sapling to upgrade list 2018-04-12 12:13:05 -06:00
jl777
f0a71becef Test 2018-04-12 21:09:23 +03:00
jl777
e0196ded31 Test 2018-04-12 21:06:11 +03:00
jl777
fce64b22d6 Print 2018-04-12 21:04:01 +03:00
Homu
b691234beb Auto merge of #3162 - str4d:3052-sapling-crypto-deps, r=str4d
depends: Update to latest librustzcash with sapling-crypto dependencies

Part of #3052.
2018-04-12 11:03:55 -07:00
jl777
874106bf75 Test 2018-04-12 20:51:43 +03:00
jl777
835c1c0256 Test 2018-04-12 20:47:56 +03:00
jl777
667a4eb3fa Test 2018-04-12 20:35:36 +03:00
jl777
20eaf8aaf3 Test 2018-04-12 20:25:23 +03:00
jl777
e256321578 Test 2018-04-12 20:15:42 +03:00
jl777
dfd07d7878 Reorg ccdata 2018-04-12 20:13:36 +03:00
jl777
816d95d586 Test 2018-04-12 20:01:50 +03:00
jl777
a38211a558 Test 2018-04-12 19:42:47 +03:00
jl777
e7c626c272 Test 2018-04-12 19:34:46 +03:00
jl777
0fc4228175 Have MoMoMdata use allMoMs 2018-04-12 19:33:36 +03:00
Homu
42e3025237 Auto merge of #3165 - str4d:release-v1.1.0, r=str4d
Release v1.1.0
2018-04-12 08:55:29 -07:00
jl777
623d2effad Test 2018-04-12 18:53:33 +03:00
jl777
7216ff557a Test 2018-04-12 18:52:16 +03:00
jl777
26770acc81 Test 2018-04-12 18:50:03 +03:00
jl777
5740b2aa6b Add allMoMs 2018-04-12 18:45:25 +03:00
jl777
5877c76ea2 Test 2018-04-12 18:02:32 +03:00
jl777
becfd453e9 Test 2018-04-12 17:53:20 +03:00
jl777
2f9b6804d7 Test 2018-04-12 17:52:30 +03:00
jl777
0a1455d21d Debug 2018-04-12 17:20:53 +03:00
jl777
9a92a030d6 Debug 2018-04-12 17:11:32 +03:00
jl777
04ffef72ba ) 2018-04-12 17:03:07 +03:00
jl777
9ea91e1b8e Fix 2018-04-12 17:02:33 +03:00
jl777
f0934de390 Fix 2018-04-12 17:01:34 +03:00
jl777
602c7d4649 fix 2018-04-12 17:00:39 +03:00
jl777
28d820d72f fix... 2018-04-12 16:56:12 +03:00
jl777
0ecf070716 Fix 2018-04-12 16:52:21 +03:00
jl777
b54773f0d7 fix... 2018-04-12 16:50:49 +03:00
jl777
69145d3327 Fix 2018-04-12 16:48:36 +03:00
jl777
d1bd47e4f1 fix... 2018-04-12 16:47:32 +03:00