Commit graph

7782 commits

Author SHA1 Message Date
Gregory Sanders
324cdae046 Make sure we check wallet is available and unlocked for pegging 2017-02-03 15:09:14 -05:00
Jorge Timón
8736efe758 DOWN: fixup! Unused tip on getblockchaininfo 2017-02-02 10:59:11 -05:00
Karl-Johan Alm
58db3a1e84 Uses built-in byte swap if available (Apple) and if bswap_XX is undefined.
Defers to pre-defined version if found (e.g. protobuf). For protobuf case, the definitions are identical and thus include order should not affect results.

Github-Pull: #9366
Rebased-From: 815f4148b2
2017-02-02 10:59:11 -05:00
Gregory Sanders
04eb01404d Increase default block priority size to 20% of blocksize 2017-02-02 10:59:11 -05:00
Matt Corallo
876759d812 Hugely reduce the minimum priority 2017-02-02 10:59:11 -05:00
Gregory Sanders
1d7134881c New address prefix: CTE 2017-02-02 10:59:07 -05:00
Gregory Sanders
2f3c2676b4 Change out of date comment for getpeginaddress 2017-02-02 10:59:07 -05:00
Gregory Sanders
4e8b3a4798 fix getpeginaddress clarification 2017-02-02 10:59:07 -05:00
Gregory Sanders
6252e5c2dc GetBlockSubsidy is always 0 2017-02-02 10:59:07 -05:00
Gregory Sanders
d224e2eb52 Retry bitcoind RPC connection upon warmup error code return 2017-02-02 10:59:01 -05:00
Gregory Sanders
424a85fcdd Detect mainchain cookie auth using datadir checking, not mapArgs 2017-02-02 10:59:01 -05:00
Gregory Sanders
c868ef325e Fix IsConfirmedBitcoinBlock, clean up CallRPC 2017-02-02 10:59:01 -05:00
Eric Martindale
1150d0e9fc Add IFDEF around blind transactions 2017-02-02 10:59:01 -05:00
Gregory Sanders
66114fdba5 bip125 opt-in rbf by default for sent transactions 2017-02-02 10:59:01 -05:00
Eric Martindale
01d7915bb7 Migrate project naming from "Beta" to "Elements"
Note: this also changes the CHAINPARAMS_ELEMENTS constant!  The new
network name is simply `elements`, and similarly regtest is now
`elementsregtest`
2017-02-02 10:59:01 -05:00
Gregory Sanders
a6c6702861 Count CHECKSIGFROMSTACK* against sigops limit 2017-02-02 10:59:01 -05:00
instagibbs
565e1e6eed Create max size/weight blocks by default 2017-02-02 10:59:01 -05:00
instagibbs
d81e6a69b8 Tests for new opcodes 2017-02-02 10:59:01 -05:00
instagibbs
6a3b75d257 [HF] Re-activated some disabled Bitcoin OPs and enabled new opcodes 2017-02-02 10:59:01 -05:00
Jonas Nick
bb1f44f8a6 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-02-02 10:59:00 -05:00
Jonas Nick
51cc3a77fb QA: Add -signblockscript command line argument 2017-02-02 10:59:00 -05:00
Jorge Timón
cd12c3e62f Introduce static CScript StrHexToScriptWithDefault() in chainparams.cpp 2017-02-02 10:59:00 -05:00
Jorge Timón
e2aef80ab8 Preparations: Pass mapArgs to CChainParams::Factory 2017-02-02 10:59:00 -05:00
Jorge Timón
7fa61dd4d0 Upstream? Globals: Allow to parse arguments without implicitly using the argMap global 2017-02-02 10:59:00 -05:00
instagibbs
93b07ea584 Harden pegin address generation 2017-02-02 10:58:57 -05:00
instagibbs
617d9bbcbe [libsecp] Add negation functionality 2017-02-02 10:58:57 -05:00
instagibbs
934023c7ea Add parent genesis hash to chainparams, simplify checks 2017-02-02 10:58:57 -05:00
instagibbs
cc272afff1 Regtest generate sends fees to wallet 2017-02-02 10:58:57 -05:00
instagibbs
ef891a13a5 add testproposedblock rpc call 2017-02-02 10:58:57 -05:00
instagibbs
0f98b914a0 getpeginaddress clarification and output variable name changes 2017-02-02 10:58:56 -05:00
instagibbs
a90d9534a2 More useful claimpegin errors for malformed arguments 2017-02-02 10:58:56 -05:00
instagibbs
9009318556 Better error report for failed BitcoindRPCCheck 2017-02-02 10:58:56 -05:00
instagibbs
6b77b1af06 CheckInputs: Fix DoS erroneous DoS ban during mempool relay 2017-02-02 10:58:56 -05:00
instagibbs
f40bfeb7d5 Activate CSV and Segwit immediately 2017-02-02 10:58:56 -05:00
instagibbs
c136e0ac78 Enforce all ISM upgrades immediately 2017-02-02 10:58:56 -05:00
instagibbs
15c2a60226 Enable P2SH in ConnectBlock regardless of timestamp 2017-02-02 10:58:56 -05:00
instagibbs
7154c1f9ad Rangeproof caching 2017-02-02 10:58:56 -05:00
instagibbs
33609ed3ea Multithreaded amount commitment and range proof checking 2017-02-02 10:58:56 -05:00
instagibbs
56aa82fc2d Move amount verification to main 2017-02-02 10:58:56 -05:00
instagibbs
21914204c2 FIXME: Unit tests compile and pass 2017-02-02 10:58:56 -05:00
instagibbs
710dda78dd Remove CTxMemPoolEntry nValueIn since unused and we don't know it 2017-02-02 10:58:56 -05:00
instagibbs
ba699771dc Add basic testing of blinding caching functionality in wallet 2017-02-02 10:58:56 -05:00
instagibbs
8d7b7d4aff Increase ancestor/dependant size limit to 375kB 2017-02-02 10:58:56 -05:00
instagibbs
2ff3733d6b More meaningful error messages for WPV failure 2017-02-02 10:58:56 -05:00
Mark Friedenbach
eedc9606a5 Upstream: remove extraneous warning about variable being used before set (#4) 2017-02-02 10:58:56 -05:00
Pieter Wuille
5b2053211e Zero value coinbase output are exempt from fixed destination 2017-02-02 10:58:56 -05:00
Pieter Wuille
d212526c24 Add witness commitment when there are only txout witnesses 2017-02-02 10:58:56 -05:00
instagibbs
fd9a254c64 Add blindingfactors to listtransactions rpc help 2017-02-02 10:58:56 -05:00
instagibbs
89756b2cf9 More compact and pretty printing of blindingdata in ListTransactions 2017-02-02 10:58:56 -05:00
instagibbs
fe2f6c31e0 Don't log scary message about withdrawLock outputs 2017-02-02 10:58:56 -05:00