Gregory Sanders
714e8fc0d0
Rangeproof commits to scriptpubkey
2017-06-16 12:02:16 -04:00
Gregory Sanders
dcc378adae
Allow arbitrary assets for fees
2017-06-16 12:02:16 -04:00
Gregory Sanders
cb2ee26d12
Make sure coinbase has no fees
2017-06-16 12:02:16 -04:00
Gregory Sanders
2f7a9a5846
Replace nTxFee with explicit output fees
2017-06-16 12:02:16 -04:00
Gregory Sanders
553cdeea00
Greatly simplify coinbase balance checking
2017-06-16 12:02:16 -04:00
Gregory Sanders
a38c6b18b5
SurjectionProof caching
2017-06-16 12:02:16 -04:00
Gregory Sanders
13cdcfc979
Enable multithreaded validation of surjection proofs
2017-06-16 12:02:16 -04:00
Gregory Sanders
f9fd37cc8e
Consensus: Add asset type to CTxOut and validation
2017-06-16 12:02:15 -04:00
Mark Friedenbach
ab72a3dc05
CT: Rename nCommitmentSize -> nCommittedSize
2017-06-16 12:02:15 -04:00
instagibbs
7501e0a1a0
Adapt daemon functionality to updated libsecp
2017-06-16 12:02:15 -04:00
Gregory Sanders
9ca9c5c997
GetBlockSubsidy is always 0
2017-06-16 12:02:14 -04:00
Gregory Sanders
15dadcd970
Retry bitcoind RPC connection upon warmup error code return
2017-06-16 12:02:14 -04:00
Gregory Sanders
285b10ce10
Fix IsConfirmedBitcoinBlock, clean up CallRPC
2017-06-16 12:02:14 -04:00
Jonas Nick
1287eaa0d9
QA: Allow setting the fedpeg script with a command line argument
...
- In both default and regtest modes
- The script is stored
- BaseSignatureChecker is used to pass it to the interpreter
Modified by jtimon
2017-06-16 12:02:13 -04:00
instagibbs
9f4ea3d03f
Add parent genesis hash to chainparams, simplify checks
2017-06-16 12:02:13 -04:00
instagibbs
cf232e8447
Better error report for failed BitcoindRPCCheck
2017-06-16 12:02:13 -04:00
instagibbs
00c60c7760
CheckInputs: Fix DoS erroneous DoS ban during mempool relay
2017-06-16 12:02:13 -04:00
instagibbs
9167fba9dc
Enforce all ISM upgrades immediately
2017-06-16 12:02:13 -04:00
instagibbs
420bdf211d
Enable P2SH in ConnectBlock regardless of timestamp
2017-06-16 12:02:13 -04:00
instagibbs
66ab07bd1b
Rangeproof caching
2017-06-16 12:02:13 -04:00
instagibbs
dfab197543
Multithreaded amount commitment and range proof checking
2017-06-16 12:02:13 -04:00
instagibbs
e877750729
Move amount verification to main
2017-06-16 12:02:13 -04:00
Pieter Wuille
a94fe57f30
Zero value coinbase output are exempt from fixed destination
2017-06-16 12:02:12 -04:00
Pieter Wuille
7f02c0f316
Add witness commitment when there are only txout witnesses
2017-06-16 12:02:12 -04:00
instagibbs
372e20d8b1
block header commits to height
2017-06-16 12:02:12 -04:00
instagibbs
0d1151f1a3
block validation on script error of properly signed block
2017-06-16 12:02:12 -04:00
instagibbs
f7424036e9
Startup RPC check, failed block queue setup
2017-06-16 12:02:12 -04:00
instagibbs
0caab49550
Don't DoS ban peers for possibly valid pegin blocks
2017-06-15 14:31:27 -04:00
instagibbs
eb3d576a99
Actually enforce withdraw consensus rules
2017-06-15 14:31:26 -04:00
Matt Corallo
76eea62931
Add comment explaining check
2017-06-15 14:31:26 -04:00
instagibbs
c81a726f64
Basic locked utxo testing
2017-06-15 14:31:26 -04:00
instagibbs
0fcad6701f
Various updates to locked-output UTXO selection
2017-06-15 14:31:26 -04:00
Matt Corallo
8244b22a91
Require coinbase outputs be to a specific script
2017-06-15 14:31:26 -04:00
Matt Corallo
5f88da386c
No DoS for sending a tx/block claiming an unconfirmed btc block
2017-06-15 14:31:25 -04:00
Matt Corallo
b4eae5c48d
Add function to get withdraw outputs which are claim-able
2017-06-15 14:31:25 -04:00
Matt Corallo
72df7f55ab
Add withdraw-locks-creation tracking in txdb
2017-06-15 14:31:25 -04:00
Luke Dashjr
b5f1b6dd38
Refactors in anticipation of blinded values
2017-06-15 14:20:38 -04:00
Matt Corallo
b8264355f1
Add explicit fee field to transaction
2017-06-15 14:20:38 -04:00
Matt Corallo
fc86bc95c2
No subsidy, 21 million genesis block
2017-06-15 14:20:38 -04:00
Matt Corallo
844beb0d86
Make genesis coinbase outputs spendable
2017-06-15 14:20:38 -04:00
Matt Corallo
fd140d6a36
Disable replacement of peg-in transactions
2017-06-15 14:20:38 -04:00
Matt Corallo
eebbfb84b6
Keep mempool consistent after conflicting withdraw-spent
2017-06-15 14:20:38 -04:00
Matt Corallo
bde5c0a819
Add withdraw-claimed tracking to mempool and enforce it
2017-06-15 14:20:38 -04:00
Matt Corallo
f975886d26
Enforce single-withdraw by tracking withdraws-spent in CheckInputs
2017-06-15 14:20:38 -04:00
Matt Corallo
77607bb3bc
Add sidechain claims to UTXO db
2017-06-15 14:20:38 -04:00
Matt Corallo
4ab8b0823a
Tweak SignatureChecker to expose a bit more about the transaction
2017-06-15 14:20:38 -04:00
Matt Corallo
25eb07e59b
Block with invalid signature is corruption-possible
2017-06-15 14:20:37 -04:00
jtimon
db42a26b72
Implement basic private chain mode
2017-06-15 14:20:37 -04:00
Gregory Sanders
ec4fefd90c
[upstream #9102 ] Really don't validate genesis block
2017-06-15 14:11:48 -04:00
Alex Morcos
0e5133cb2e
Make threshold for flushing more conservative.
...
Always leave a reasonable buffer of 50MB for usage from newly connected block (once over 50%) and increase the high water mark buffer to 200MB.
Github-Pull: #10133
Rebased-From: 1b55e07b7a
2017-04-05 08:23:02 +02:00