Commit Graph

11051 Commits

Author SHA1 Message Date
Jon Layton 62a56fce41
Merge pull request #70 from floreslorca/master
cross compiling for windows fix, and detailed build instructions
2018-02-21 14:35:45 -06:00
floreslorca cffc74a8a0 add notes for multiple build 2018-02-21 13:58:18 -06:00
jc ac0231d2ba
Implement replay protection using FORKID scheme
modeled off of the BCH and BTG implementations
with a few tweaks (forkid signing is ignored below fork height)
moved joinsplit signature verifications into ConnectBlock()
as it has now become height dependent
2018-02-21 08:43:19 -05:00
floreslorca 68af4746ce remove uneccessary steps 2018-02-21 00:03:11 -06:00
floreslorca 3c07498cf0 fix rust make files to allow multiple builds 2018-02-20 22:44:39 -06:00
Jon Layton 5c102e0975 base58prefixes modified for btcp 2018-02-20 20:57:38 -06:00
jc ecf8c99241
only exempt fork blocks from coinbase shielding requirement but not maturity limit 2018-02-17 17:12:26 -05:00
sken a24aa17408 add mingw-w64 dependency to read me 2018-02-15 17:26:29 -06:00
sken 0e8f79e8ab add sha256 checksum line for windows rust 2018-02-15 03:18:08 -06:00
sken 6a9c62705a add windows cross compiling instructions 2018-02-15 01:31:23 -06:00
jc 18dde3827a
move fork heights to chainparams and fix coinbase scriptSig
match style & more bugfixes
change max sigops and further cleanup
lock cs_main
use genesis nBits
use a sentinel value in fork block header
refactor pow & soln validation in fork range
exempt fork blocks from fewer checks
more tweaks to make fork blocks more standard
2018-02-13 08:22:57 -05:00
jc 916697eaa9
add a difficulty bomb at height 600000 2018-02-13 08:06:13 -05:00
Jon Layton d6dc745a5f
Merge pull request #65 from ch4ot1c/readme_snapshot
Readme Updates - snapshot info
2018-02-09 13:14:07 -06:00
Jon Layton f8aef28faa tinyfixes 2018-02-09 13:12:14 -06:00
Jon Layton 669edd5090 Update readme with snapshot and fork dates 2018-02-09 13:09:51 -06:00
jc c4691b238a
bip9 wip: building
Fix typo: Optimizaton -> Optimization

Implement BIP 9 GBT changes

- BIP9DeploymentInfo struct for static deployment info
- VersionBitsDeploymentInfo: Avoid C++11ism by commenting parameter names
- getblocktemplate: Make sure to set deployments in the version if it is LOCKED_IN
- In this commit, all rules are considered required for clients to support

remove cvs deployment info

getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not

fix nonce
2018-02-08 08:32:17 -05:00
jc 3a64258987
bip9 wip continued 2018-02-08 08:32:17 -05:00
jc 3eef83218d
begin integrating bip9 2018-02-08 08:32:17 -05:00
BlueSilver22 cf7a1643a4
Merge pull request #62 from jc23424/zt-test-fixes
ZT Test Fixes - rebased and squashed
2018-02-07 18:27:20 -06:00
jc 443c52ac5a
regenerate script_tests json 2018-02-07 19:16:48 -05:00
airk42 20d7e7a08e
Merge pull request #60 from airk42/cb-inputs
rebased cb-inputs merge back into master
2018-02-06 21:53:46 -05:00
jc 1bb2714d3c
fix small formatting issues 2018-02-06 08:19:03 -05:00
Zane Thomas 67f68011f0
Test suite fully passes
WIP --- Cleaning up tests

Currently working on sighash_tests which may be the last of the
test_bitcoin failures.

Restore Genesis Block

Mistakenly replaced with search and replace of AlertKey

test_bitcoin now passes

Fixed multiple errors throughout src/test and main.cpp. Possibly read
for pull request but will want to investigate a few things first.

Adding sighash.json

Needed to run sighash tests and not created automatically as needed.

Updated sighash.json

Sighash test fails without this.

Fixed formatting issue

removed {} which did not exist in the file at the time i got it

Commented out line so test data is not always generated when script_tests runs.
2018-02-06 08:15:36 -05:00
airk42 b0c5da7f5e Fixed interval inclusion/exclusion 2018-02-04 16:19:55 -05:00
airk42 2f901504a9 small fix 2018-02-04 16:19:55 -05:00
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