Commit Graph

10826 Commits

Author SHA1 Message Date
airk42 352b0c6cf6 Validation of fork blocks against tnxs in file (AcceptBlock); Final Cleanup 2018-02-04 16:19:55 -05:00
airk42 dbe41f28e3 Difficulty is reduced to >1 sec per block; eanc fork block is read from corresponding file; AcceptBlock is verifying received fork blocks by records in the corresponding files 2018-02-04 16:19:55 -05:00
airk42 9d8b64ccfe Final: final parsing - scriptPubKey; toggles around checks for validity: # of CB's; nBits; PoW 2018-02-04 16:19:55 -05:00
airk42 19121b7e6f Small fixes 2018-02-04 16:19:55 -05:00
airk42 aa4cb40642 UTXO dump parser changed to read from file by item 2018-02-04 16:19:55 -05:00
airk42 89c9dce5bc Added - Defines for fork code; all toggles for fork vs non-fork blocks should be fine now; added cmd line parameter - '-utxo-file'; open/read file; parse coin ammount and scriptPubKey size 2018-02-04 16:19:55 -05:00
airk42 3a48341e1b 1st draft of CB block creation 2018-02-04 16:19:55 -05:00
airk42 2292806450 First attempt to skip/verify BTC inserting blocks 2018-02-04 16:19:55 -05:00
BlueSilver22 cf40f0fb30
Merge pull request #36 from jc23424/segwit-lock
lock segwit utxos
2018-02-04 09:28:00 -06:00
BlueSilver22 2e1f3a1091
Merge pull request #58 from jc23424/small-test-fixes
Small test fixes
2018-02-04 09:27:31 -06:00
jc 84b285c04f
lock segwit utxos for fork 2018-02-04 10:24:26 -05:00
jc 0842ea7bb2
revert addrman tests 2018-02-04 10:22:34 -05:00
jc e443ad17a5
fix some failing tests 2018-02-04 09:56:42 -05:00
BlueSilver22 01470c0809
Merge pull request #40 from jc23424/update-ports
update ports
2018-02-03 19:24:46 -06:00
BlueSilver22 f17fa1796d
Merge pull request #57 from jc23424/rename-units
update units string
2018-02-03 19:24:37 -06:00
jc23424 d6ebb04584
Merge branch 'master' into update-ports 2018-02-03 20:14:54 -05:00
jc 75db676b79
update units string 2018-02-03 16:08:35 -05:00
BlueSilver22 ec48f86d91
Merge pull request #53 from jc23424/adjust-pch
adjust pchMessageStart to isolate network
2018-02-02 17:23:05 -06:00
jc23424 370cb386cf
Merge branch 'master' into adjust-pch 2018-02-02 08:35:37 -05:00
BlueSilver22 37820c5579
Merge pull request #52 from jc23424/disable-coinbase-shielding
dont enforce requirement that coinbases must be first shielded
2018-02-02 06:55:03 -06:00
BlueSilver22 5406e79357
Merge pull request #48 from zanethomas/merge-zclassic-changes-001
Bringing In Test Failure Fixes from zclassic
2018-02-02 06:54:54 -06:00
BlueSilver22 216d7ea26f
Merge pull request #43 from ch4ot1c/btcp-msgmagic
strMessageMagic for BitcoinPrivate
2018-02-02 06:54:42 -06:00
BlueSilver22 376e574ab1
Merge pull request #54 from josephnicholas/master
GCC-7 Fixes merged from Z-Classic
2018-01-28 10:26:52 -06:00
josephnicholas 6600061376 GCC-7 Fixes merged from zclassic 2018-01-29 00:17:50 +08:00
jc 1c815e7787 bump version for next testnet to ensure no unupdated connections 2018-01-28 09:04:35 -05:00
jc bc03affae5 bump version for next testnet 2018-01-27 23:44:53 -05:00
jc 1b58b0615e adjust pchMessageStart to isolate network 2018-01-27 18:33:29 -05:00
jc 8af36e19b9 dont enforce requirement that coinbases must be first shielded 2018-01-27 14:54:22 -05:00
BlueSilver22 cef3f89e75
Merge pull request #49 from zanethomas/change-sighash-forkid
SIGHASH_FORKID defined as an int but used in the code as a bit-field constant
2018-01-25 17:15:02 -05:00
Zane Thomas 0c5a196b1b SIGHASH_FORKID defined as an int but used in the code as a bit-field constant
This is a serious error which is causing a lot of trouble in the test
suite. I have not been able to determine what sorts of problems it
might cause, or vulnerabilities open up, but I believe that this
constant should be changed asap.
2018-01-23 20:05:43 -06:00
Zane Thomas ae963c00d8 Bringing In Test Failure Fixes from zclassic
These are all the changes I made recently to get the full test suite to
run in zclassic. Running the same test suite on BTCPrivate is
generating new errors. I’ll be making a new branch for those.
2018-01-21 21:00:56 -06:00
Jon Layton f459e58f54 strMessageMagic for BitcoinPrivate 2018-01-16 11:13:05 -06:00
jc 769a9ceb73 update client name and dnsseeds 2018-01-14 21:57:23 -05:00
jc 4f8f5b0c4b bump version number 2018-01-14 21:07:04 -05:00
jc 2b5c073c4f update ports 2018-01-14 17:40:07 -05:00
Rhett Creighton b1e4e22d12
Merge pull request #29 from leto/2way_replay_protection
Use a valid shift for SCRIPT_ENABLE_SIGHASH_FORKID
2018-01-05 21:44:13 -06:00
Jonathan "Duke" Leto 815b962c71 Use a valid shift for SCRIPT_ENABLE_SIGHASH_FORKID 2018-01-05 19:20:14 -08:00
Rhett Creighton 97423c77de
Merge pull request #28 from leto/2way_replay_protection
This constant is actually spelled SCRIPT_ERR_ILLEGAL_FORKID
2018-01-05 18:39:12 -06:00
Jonathan "Duke" Leto e70c93fdd4 This constant is actually spelled SCRIPT_ERR_ILLEGAL_FORKID 2018-01-05 15:28:08 -08:00
Rhett Creighton bfff58020b
Merge pull request #18 from leto/2way_replay_protection
2way replay protection
2018-01-03 19:55:23 -06:00
airk42 076dc380ff
Merge pull request #19 from zero1z/patch-1
Replace "Kb" and "kB" with KB
2018-01-01 01:53:46 -05:00
zero1z 353b429f04
Replace "Kb" and "kB" with KB
A trivial change to avoid possible confusion with the number of bytes -- and also to maintain consistency.
2017-12-31 06:07:34 -05:00
Jonathan "Duke" Leto da30307c73 Lowercase our currency name, hey look, an emerging standard 2017-12-30 23:51:38 -08:00
Jonathan "Duke" Leto 3113973c12 Make sure to allow SIGHASH_FORKID in a few places 2017-12-30 23:38:58 -08:00
Jonathan "Duke" Leto 44a066194a Update CheckSignatureEncoding 2017-12-30 22:10:40 -08:00
Jonathan "Duke" Leto 402ff83645 Add script verification flag for SIGHASH_FORKID 2017-12-30 21:45:29 -08:00
Jonathan "Duke" Leto 35844a3e01 Teach signrawtransaction RPC about SIGHASH_FORKID 2017-12-30 21:43:10 -08:00
Jonathan "Duke" Leto 6b6abb3d12 Ensure 2WRP by concatenating a unique string in the sighash when our fork is active 2017-12-30 21:23:56 -08:00
Jonathan "Duke" Leto fe749e06be Define a SIGHASH_FORKID and convert bitcoin-tx to use it 2017-12-30 20:54:12 -08:00
Rhett Creighton 66a4d607e8 remove zclassic related files 2017-12-28 11:14:30 -06:00