Commit graph

11462 commits

Author SHA1 Message Date
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
357d472d95 Enable required modules in secp256k1 for CT 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
Matt Corallo
cf5d16755d Add CScript::IsWithdrawLock() (which is standard) 2017-02-02 10:58:47 -05:00
Pieter Wuille
6be3888987 Disable proof checking for all blocks on load
We still verify the headers of the last -checkblocks blocks.
2017-02-02 10:58:47 -05:00
Matt Corallo
c8ac3bf7d7 Add block sign/sig combine/etc RPC functions 2017-02-02 10:58:47 -05:00
Matt Corallo
f0327ad6f1 Re-add support for bitcoin headers/proofs in sidechain validation 2017-02-02 10:58:47 -05:00
Matt Corallo
b6a9974821 Block with invalid signature is corruption-possible 2017-02-02 10:58:47 -05:00
instagibbs
49002b0a92 Implement basic private chain mode 2017-02-02 10:58:47 -05:00
jtimon
911294c696 Refactors in anticipation of private chain mode 2017-02-02 10:58:43 -05:00
Matt Corallo
101d8d7085 Un-hard-code genesis hashes 2016-11-01 11:48:16 -04:00
Jorge Timón
568827dce1 Elements: Start Alpha 2016-11-01 11:48:16 -04:00
Jorge Timón
28c3d990e6 Elements: Remove testnet3 2016-11-01 11:48:16 -04:00
Jorge Timón
cbb438cccc Chainparams: Adapt qt/paymentserver to support more than 2 chains 2016-11-01 11:48:16 -04:00
Jorge Timón
d16d076053 Checkpoints: The hash of the genesis block it's the genesis checkpoint and chain id 2016-11-01 11:48:16 -04:00
Jorge Timón
8441051714 Chainparams: Qt: Simplify network/chain styles and add a default purple one 2016-11-01 11:48:16 -04:00
Jorge Timón
6275ff8ed6 Chainparams: Generic selection with -chain=<chainString> in addition of -testnet and -regtest 2016-11-01 11:48:16 -04:00
Matt Corallo
595f6bda3a Chainparams: Get rid of CChainParams& Params(std::string) 2016-11-01 11:48:16 -04:00
Jorge Timón
7731e3973f Chainparams: Use a regular factory for creating chainparams 2016-11-01 11:48:16 -04:00
Matt Corallo
183cc2e8f4 Restore MoneyRange checks on total tx fees
This re-adds the security-checks that were surreptitiously removed
all the way back in 8d7849b6db.
2016-11-01 11:48:16 -04:00
Pieter Wuille
1469f277d9 Get rid of CTxOut::GetHash 2016-11-01 11:48:16 -04:00
Matt Corallo
7abc17e9c2 Fail in DecodeHexTx if there is extra data at the end 2016-11-01 11:48:16 -04:00
Matt Corallo
6848561bd4 Remove extra nonce reset logic in IncrementExtraNonce
I assume this was added to prevent deanonymization, but that
doesn't matter anymore since its only used on regtest.
2016-11-01 11:48:16 -04:00
Jorge Timón
6bb56092b8 Testchains: Don't check the genesis block
Rebased by Pieter Wuille.
Cleanup by Matt Corallo.
2016-11-01 11:48:16 -04:00
Michael Ford
20a84b8c45 Update release notes for dropping osx 10.7 support 2016-11-01 11:48:16 -04:00
Cory Fields
5d6c087c95 release: bump required osx version to 10.8. Credit jonasschnelli.
libc++ on 10.7 causes too many issues.

See #8577 for discussion/details.

Github-Pull: #9015
Rebased-From: 339c4b6c3a
2016-11-01 11:48:16 -04:00
MarcoFalke
c4e42ff5f0 [net] Remove assert(nMaxInbound > 0)
nMaxInbound might very well be 0 or -1, if the user prefers to keep
a small number of maxconnections.

Note: nMaxInbound of -1 means that the user set maxconnections
to 8 or less, but we still want to keep an additional slot for
the feeler connection.

Github-Pull: #9008
Rebased-From: fa1c3c2eb0
2016-11-01 11:48:16 -04:00
Luke Dashjr
bfa236f861 release-notes: Update from blog draft 2016-11-01 11:48:16 -04:00
Wladimir J. van der Laan
9e8b6f5d82 doc: Update blurb in release notes
Minor version, not major version.
2016-11-01 11:48:16 -04:00
Wladimir J. van der Laan
b9295ebecd doc: Add missing credit to release notes
(Eric participated in Segwit work but has no direct commits, so should
be mentioned)
2016-11-01 11:48:16 -04:00