Commit graph

13200 commits

Author SHA1 Message Date
instagibbs
af4c071607 Harden pegin address generation 2017-06-16 12:02:13 -04:00
instagibbs
bedb684e47 [libsecp] Add negation functionality 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
99ca4d2120 Regtest generate sends fees to wallet 2017-06-16 12:02:13 -04:00
instagibbs
81c6b13c90 add testproposedblock rpc call 2017-06-16 12:02:13 -04:00
instagibbs
a997c0f93c getpeginaddress clarification and output variable name changes 2017-06-16 12:02:13 -04:00
instagibbs
fa800d009c More useful claimpegin errors for malformed arguments 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
2fae0dffc5 Activate CSV and Segwit immediately 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
instagibbs
e0b854185a FIXME: Unit tests compile and pass 2017-06-16 12:02:13 -04:00
instagibbs
9b34f8f9b8 Add basic testing of blinding caching functionality in wallet 2017-06-16 12:02:13 -04:00
instagibbs
388a309a34 Increase ancestor/dependant size limit to 375kB 2017-06-16 12:02:13 -04:00
instagibbs
1c23b6d3cc More meaningful error messages for WPV failure 2017-06-16 12:02:12 -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
524285bc82 Add blindingfactors to listtransactions rpc help 2017-06-16 12:02:12 -04:00
instagibbs
02a4f831ac More compact and pretty printing of blindingdata in ListTransactions 2017-06-16 12:02:12 -04:00
instagibbs
cf158f0185 Don't log scary message about withdrawLock outputs 2017-06-16 12:02:12 -04:00
instagibbs
372e20d8b1 block header commits to height 2017-06-16 12:02:12 -04:00
instagibbs
88802e76f1 Add blinding data to be rpc logged 2017-06-16 12:02:12 -04:00
instagibbs
ea90488a5e added functions to rpc logging 2017-06-16 12:02:12 -04:00
instagibbs
a358337b92 Introduce user getter to avoid null pointers 2017-06-16 12:02:12 -04:00
instagibbs
b7ff69dfa8 Make sure user is set for audit logging through QT 2017-06-16 12:02:12 -04:00
instagibbs
4d53b9b3c6 Add audit log file 2017-06-16 12:02:12 -04:00
instagibbs
ce43197c11 Add thread-local storage of rpc username 2017-06-16 12:02:12 -04:00
instagibbs
c87debb048 Add parentChainPowLimit, check in CheckBitcoinProof 2017-06-16 12:02:12 -04:00
instagibbs
e30340a8d6 CreateTransaction stores destination blinding keys,factors, and amounts 2017-06-16 12:02:12 -04:00
instagibbs
7acb86cf8b Don't tally -1 when funds are unknown 2017-06-16 12:02:12 -04:00
Warren Togami
95d75386d5 Build & Doc Only Changes: Rename Sidechain Name
* .conf and .pid file name
* configure.ac name used by gitian
* gitian descriptors use new sidechain binary names
* various runtime, debug.log, and API help messages
* various places in docs

Recommended to rename this for each different sidechain.
2017-06-16 12:02:12 -04:00
instagibbs
9dff6d06e5 correct unknown value comment 2017-06-16 12:02:12 -04:00
Gregory Sanders
f52659fbb1 Range proofs in witness 2017-06-16 12:02:12 -04:00
instagibbs
8e8e842774 IsStandard rule for withdrawLock dust 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
bd55bf3d36 Rework CallRPC, use bitcoind cookie auth 2017-06-16 12:02:12 -04:00
Warren Togami
785e36ea18 Use Socks5ErrorString() to decode error responses from socks proxy. 2017-06-16 12:02:12 -04:00
instagibbs
50d393b95b Fix CTxOut null set/checking 2017-06-16 12:02:11 -04:00
instagibbs
514d1d1b9f Use dummy nonce for pegin, simplify rpcs 2017-06-16 12:02:08 -04:00
instagibbs
c5cc67a999 Rename wallet-based blinding pubkey lookups 2017-06-15 14:31:27 -04:00
instagibbs
0caab49550 Don't DoS ban peers for possibly valid pegin blocks 2017-06-15 14:31:27 -04:00
instagibbs
17963bfd6e Remove unneeded CT addresses 2017-06-15 14:31:26 -04:00
instagibbs
eb3d576a99 Actually enforce withdraw consensus rules 2017-06-15 14:31:26 -04:00
Warren Togami
ef2ba60e18 Make failures to connect via Socks5() more informative and less unnecessarily scary.
* The "ERROR" was printed far too often during normal operation for what was not an error.
* Makes the Socks5() connect failure similar to the IP connect failure in debug.log.

Before:
`2016-05-09 00:15:00 ERROR: Proxy error: host unreachable`

After:
`2016-05-09 00:15:00 Socks5() connect to t6xj6wilh4ytvcs7.onion:18333 failed: host unreachable"`
2017-06-15 14:31:26 -04:00
Jonas Nick
afcdcf4fa8 Enable peginsign in tx tool 2017-06-15 14:31:26 -04:00