miketout
64d6048f4a
Fixed checkpoint data that was put into codebase without proper check for blockchain, breaking other blockchains or asset chains
2018-08-27 12:11:33 -07:00
Sean Bowe
955b328ad1
Sapling mainnet activation height
2018-08-15 12:09:31 -06:00
Michael Toutonghi
0ba2065183
Network decentralizatoin and bug fixes
2018-08-09 15:32:48 -07:00
Michael Toutonghi
5034d1c134
Sync with latest Komodo changes
2018-08-06 12:52:22 -07:00
Jack Grigg
0ecdd0f30a
chainparams: Add BIP 44 coin type (as registered in SLIP 44)
2018-08-05 10:41:06 +01:00
jl777
79a3b761c2
Change regrets address prefix
2018-08-04 22:25:00 -11:00
Homu
0361f789fe
Auto merge of #3246 - str4d:checkpoint-304600, r=bitcartel
...
Add some more checkpoints, up to the 1.1.0 release
2018-08-01 13:55:34 -07:00
Jack Grigg
3f4ad5967b
Fix block hash for checkpoint at height 270000
2018-07-30 17:45:04 +01:00
Homu
3835cbb57f
Auto merge of #3263 - str4d:ibd-upstream-changes, r=bitcartel
...
InitialBlockDownload upstream changes
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#7208
- bitcoin/bitcoin#8007
- bitcoin/bitcoin#9053
- Excluding second commit (requires bitcoin/bitcoin#8865 )
- bitcoin/bitcoin#10388
2018-07-17 13:17:27 -07:00
Jonathan "Duke" Leto
6a7ef35d8c
Fix progress estimate by fixing checkpoint data
...
The number of transactions since the last checkpoint block was set to
over 100K, but there were no checkpoint blocks other than genesis,
and the timestamp of last checkpoint block was incorrect as well. These
led to the progress indicator always being very close to zero.
This adds checkpoint blocks rougly every 10K blocks and corrects the
other metadata.
2018-06-25 00:24:45 -07:00
Scott Sadler
45acf7d462
Merge remote-tracking branch 'jl/jl777' into momo
2018-06-19 20:50:56 -03:00
Jack Grigg
7e45636707
chainparams: Add Sapling Bech32 HRPs
2018-06-07 16:41:59 +12:00
Jonathan "Duke" Leto
b68a172c13
Add missing ZCVIEWING_KEY to base58Prefixes
2018-06-03 09:42:13 -07:00
Jonathan "Duke" Leto
97d48e2405
Add missing ZCVIEWING_KEY to base58Prefixes
2018-06-02 22:17:18 -07:00
Scott Sadler
81389fc7b4
merge dev; tests broken, need to use wallet for block rewards
2018-05-29 19:04:47 -03:00
Michael Toutonghi
c6e2184378
post launch release readiness
2018-05-27 19:59:23 -07:00
Michael Toutonghi
8abe764b18
Disabled test only state
2018-05-26 04:02:10 -07:00
Michael Toutonghi
74329e19f8
Multiple changes for critical update, including random locks and activation at 12800. Test for utxos.
2018-05-26 04:00:17 -07:00
Michael Toutonghi
6c8e1cdfb7
Restore zcash coinbase rule and launch fix at 10080
2018-05-25 15:10:07 -07:00
Jack Grigg
d670db7164
Sapling testnet activation height
2018-05-25 16:05:25 +12:00
Michael Toutonghi
3de80992e0
Finish up new POS difficulty calc
2018-05-19 19:03:53 -07:00
Jonathan "Duke" Leto
8cf70067ac
Use the KOMODO_MINDIFF_NBITS constant
2018-05-19 10:49:01 -07:00
Jonathan "Duke" Leto
16df92af59
Use latest Zcash regtest params, could not use the same as Hush because KMD has merged in latest consensus changes from ZEC upstream
2018-05-19 10:45:12 -07:00
Jonathan "Duke" Leto
373afcb499
Use correct regtest genesis block hash
...
komodod now starts up and dies with InvalidChainFound, I think due to
checkpoints:
call komodo_args.(./src/komodod) NOTARY_PUBKEY.()
initialized at 1526749522
finished loading blocks
Assertion failed: (tip), function InvalidChainFound, file main.cpp, line 1942.
2018-05-19 10:05:53 -07:00
Jonathan "Duke" Leto
b78c39beb2
Convert to using CreateGenesisBlock() like Zcash upstream
2018-05-19 08:51:45 -07:00
Jonathan "Duke" Leto
db83a2c0c3
Try Hush regtest params
...
This fails with:
$ ./komodod -regtest
Assertion failed: (consensus.hashGenesisBlock == uint256S("0x0379ff1530af893f2f2e61146db6e900dd828dc8254215b9de23df2dba06664f")), function CRegTestParams, file chainparams.cpp, line 540.
Abort trap: 6 (core dumped)
From 1d8c55ecc2
2018-05-19 00:56:25 -07:00
Gregory Maxwell
e41632c9fb
IBD check uses minimumchain work instead of checkpoints.
...
This introduces a 'minimum chain work' chainparam which is intended
to be the known amount of work in the chain for the network at the
time of software release. If you don't have this much work, you're
not yet caught up.
This is used instead of the count of blocks test from checkpoints.
This criteria is trivial to keep updated as there is no element of
subjectivity, trust, or position dependence to it. It is also a more
reliable metric of sync status than a block count.
2018-05-15 21:25:19 +12:00
Wladimir J. van der Laan
29aaf13b0a
Make max tip age an option instead of chainparam
...
After discussion in #7164 I think this is better.
Max tip age was introduced in #5987 to make it possible to run
testnet-in-a-box. But associating this behavior with the testnet chain
is wrong conceptually, as it is not needed in normal usage.
Should aim to make testnet test the software as-is.
Replace it with a (debug) option `-maxtipage`, which can be
specified only in the specific case.
2018-05-15 21:24:58 +12:00
Michael Toutonghi
1fae37f6bf
Working proof of stake with new algorithm
2018-05-15 00:54:18 -07:00
Michael Toutonghi
1f722359c1
Verus Proof of Stake Compete with Additional ant-fork protection on block 1
2018-05-13 18:59:06 -07:00
Jack Grigg
93bd00a0d5
Add key_io includes to Zcash-specific code
2018-05-08 21:39:56 +01:00
Jack Grigg
ef1678bf0f
Add some more checkpoints, up to the 1.1.0 release
2018-05-07 15:15:41 +01:00
miketout
39267c3553
Reduce default difficulty
2018-05-06 13:06:14 -07:00
miketout
1234f16b15
Fix to separate minimum difficulties for primary and alternate algorithms
2018-05-05 16:34:05 -07:00
miketout
e2951abdc3
put higher difficulty where it matters
2018-05-05 15:11:32 -07:00
miketout
bdc8bd41dd
raise minimum difficulty for Verus hash
2018-05-05 14:01:40 -07:00
miketout
05b14c0599
Make mining require peers
2018-05-04 16:47:12 -07:00
miketout
e980a26ddd
Enable time locked coin bases to be used as normal coinbase transactions with longer maturity, fix max_money
2018-05-04 16:33:34 -07:00
miketout
90e7502158
Enabled recognition of time locked transactions as watch only or spendable, depending on time
2018-05-02 22:20:03 -07:00
Jack Grigg
b6be3e88bb
Use CBitcoinAddress wrappers in Zcash-specific code
2018-05-03 01:13:04 +01:00
miketout
48d800c2c6
Merge all Komodo changes, including proof of stake, crypto conditions, passport, etc.
2018-05-02 03:24:21 -07:00
miketout
b64e19b006
enable MiningRequiresPeers
2018-04-30 00:17:03 -07:00
miketout
2910478b5a
Added LWMA difficulty algorithm for Verus, enabled compiler optimizations for verushash
2018-04-29 23:21:35 -07:00
Scott Sadler
0cb91a8d20
wip
2018-04-29 00:34:57 -03:00
Jack Grigg
b1608eed82
Add a constant for Overwinter's transaction version
2018-04-23 20:39:04 +01:00
jl777
05c2ba6371
split out asset chain p2p port from roc port
2018-04-22 17:10:35 +03:00
Jack Grigg
176fada24d
Add Sapling to upgrade list
2018-04-12 12:13:05 -06:00
Jack Grigg
4d234cd2f8
Overwinter mainnet activation height
2018-04-11 20:21:45 -06:00
Jack Grigg
ecf544d062
Set Overwinter protocol version to 170005
...
170004 is the protocol version for the NODE_BLOOM change, which is being
"released" in this RC. The activation height is being set in the final release,
which means that we may end up with both RC and final release versions online
when Overwinter activates. Bumping the protocol version for Overwinter enables
RC nodes to be correctly disconnected.
2018-04-05 12:07:44 +01:00
jl777
eb9facd492
Merge branch 'dev' into jl777
2018-03-25 22:24:20 +03:00