Commit graph

7690 commits

Author SHA1 Message Date
Matt Corallo
c04435d2f0 rotate addresses for new chain again 2017-02-02 10:58:50 -05:00
Matt Corallo
0156202474 Require coinbase outputs be to a specific script 2017-02-02 10:58:49 -05:00
Matt Corallo
184288a6fc re-enable generate RPC for unsigned chains 2017-02-02 10:58:49 -05:00
Matt Corallo
5427f23c17 new chain 2017-02-02 10:58:49 -05:00
Matt Corallo
44cff58a62 Set network parameters 2017-02-02 10:58:49 -05:00
Matt Corallo
3ab63b48e4 Make withdraw-combines combining to > MAX_MONEY / 100 non-std 2017-02-02 10:58:49 -05:00
Matt Corallo
e4d23926a7 Split genesis output into 100 identical outputs 2017-02-02 10:58:49 -05:00
Matt Corallo
832e8f9a12 Fix genesis block creation 2017-02-02 10:58:49 -05:00
Matt Corallo
40a12f6c68 Change constant keys to shit I found on google
(note script/interpreter must match wallet/rpcwallet)
2017-02-02 10:58:49 -05:00
Matt Corallo
12129946d5 Randomly permutate ports 2017-02-02 10:58:49 -05:00
Matt Corallo
7b848b8e5d Change default datadir 2017-02-02 10:58:49 -05:00
Glenn Willen
c5c68ee439 Give a nice error for "make bitcoind", instead of a misleading one. 2017-02-02 10:58:49 -05:00
Matt Corallo
4d2379f5ac Rename binaries and shared libraries 2017-02-02 10:58:49 -05:00
Matt Corallo
1cba61ae35 Elements Beta branding 2017-02-02 10:58:49 -05:00
Matt Corallo
455ff66694 Respond to getheaders even in IBD mode
This should fix an issue which would crop up if we ever needed to
pause the chain for a period of time - namely that nodes would not
sync again afterwards if they restarted during the pause.
2017-02-02 10:58:49 -05:00
Matt Corallo
dff6b024dd No DoS for sending a tx/block claiming an unconfirmed btc block 2017-02-02 10:58:49 -05:00
Matt Corallo
cffa0d029c Enable various script validations always 2017-02-02 10:58:49 -05:00
Matt Corallo
5ddb05243c Add regtest mode with a very large OP_TRUE output 2017-02-02 10:58:49 -05:00
Matt Corallo
e396106f76 Add withdraw-manipulation RPCs 2017-02-02 10:58:49 -05:00
Matt Corallo
4b80cee0f1 Add function to get withdraw outputs which are claim-able 2017-02-02 10:58:49 -05:00
Matt Corallo
3914ec30cf Add withdraw-locks-creation tracking in txdb 2017-02-02 10:58:49 -05:00
Pieter Wuille
9bfc2c813d Better algorithm for determining whether a dummy output is needed 2017-02-02 10:58:49 -05:00
Pieter Wuille
01463610aa Deal better with unknown amounts in balances 2017-02-02 10:58:49 -05:00
Matt Corallo
eaf5ab06be Add blinding key import/export RPCs 2017-02-02 10:58:48 -05:00
Matt Corallo
c33e8ea41e Qt updates for in-wallet CT 2017-02-02 10:58:48 -05:00
Matt Corallo
fa413cb2a6 Allow CreateTransaction to return the values of the outputs 2017-02-02 10:58:48 -05:00
Pieter Wuille
683dd3cdbe Wallet updates for CT
A few fixes from Jerzy Kozera <jerzy.kozera@gmail.com>
2017-02-02 10:58:48 -05:00
Matt Corallo
57028e5c5c bitcoin-tx changes for blinded values 2017-02-02 10:58:48 -05:00
Matt Corallo
f044cba41a Add base58 support for blinded addresses 2017-02-02 10:58:48 -05:00
Matt Corallo
7ab3826dd1 Add blinding transaction-creation code 2017-02-02 10:58:48 -05:00
Luke Dashjr
438b0d89ae Consensus support for blinded amounts 2017-02-02 10:58:48 -05:00
Matt Corallo
7ca7629cf1 Update libsecp (TODO: Do this via subtree) 2017-02-02 10:58:48 -05:00
Luke Dashjr
3ad6bbe651 Refactors in anticipation of blinded values 2017-02-02 10:58:48 -05:00
Matt Corallo
3e00c9084c Require input values in createrawtransaction 2017-02-02 10:58:48 -05:00
Matt Corallo
49f24bc6e2 Add explicit fee field to transaction 2017-02-02 10:58:48 -05:00
Matt Corallo
0663a9bf9f No subsidy, 21 million genesis block 2017-02-02 10:58:48 -05:00
Matt Corallo
f381a70619 Make genesis coinbase outputs spendable 2017-02-02 10:58:48 -05:00
Matt Corallo
183e00bdfd Use RPC calls to check bitcoin blocks are valid and confirmed 2017-02-02 10:58:48 -05:00
Matt Corallo
4f9ed185b8 MOVEONLY: Move CallRPC into its own file 2017-02-02 10:58:48 -05:00
Matt Corallo
6939698bc5 Disable replacement of peg-in transactions 2017-02-02 10:58:48 -05:00
Matt Corallo
3db5ff1e03 Add removeForBlock-withdraws test 2017-02-02 10:58:48 -05:00
Matt Corallo
54f981de1f Keep mempool consistent after conflicting withdraw-spent 2017-02-02 10:58:47 -05:00
Matt Corallo
79d422acfa Add withdraw-claimed tracking to mempool and enforce it 2017-02-02 10:58:47 -05:00
Matt Corallo
16063366d9 Enforce single-withdraw by tracking withdraws-spent in CheckInputs 2017-02-02 10:58:47 -05:00
Matt Corallo
c549d96ead Add sidechain claims to UTXO db 2017-02-02 10:58:47 -05:00
Matt Corallo
9f3c9ad5ad Add withdraw-spent to CCoinsView/utxodb
Allows CCoinsCacheEntry/CCoinsMap entries to either be a CCoins
or, by setting a flag in the map key, a withdraw output from a
chain from which withdraw proofs are allowed to move to this
chain from.
2017-02-02 10:58:47 -05:00
Matt Corallo
a37cd32dd6 Verify Withdraw proofs in script execution 2017-02-02 10:58:47 -05:00
Matt Corallo
6c945bea44 Tweak SignatureChecker to expose a bit more about the transaction 2017-02-02 10:58:47 -05:00
Matt Corallo
cca18eee8d Add withdraw lock to script/standard.h (and, thus, RPC raw txn) 2017-02-02 10:58:47 -05:00
Matt Corallo
c51a6f32d0 Add CScript::PushWithdraw function 2017-02-02 10:58:47 -05:00