Taylor Hornby
1ea8b00926
Change the network magic numbers.
8 years ago
Taylor Hornby
bbf75f9f70
z5 release
8 years ago
Sean Bowe
05a6d19a54
Testnet spending keys should start with 'TK'.
8 years ago
Jack Grigg
3985a40d1f
Change default ports
8 years ago
Jack Grigg
cdec0b923e
Fix bug in network hashrate lookup window configuration
8 years ago
Jack Grigg
5e207f4ea5
Improve comments per review
8 years ago
Sean Bowe
f0ae0b11fe
Add test to ensure spending keys always encode with 'SK' at beginning.
8 years ago
Sean Bowe
13039c5362
Make testnet addresses always start with 'tn'.
8 years ago
Sean Bowe
d5d2fb71cf
Guarantee first two bytes of spending key are SK
8 years ago
Sean Bowe
0d6864e465
Added encoding for Zcash spending keys.
8 years ago
Sean Bowe
6ab0a227c6
Fix test against merkle tree root.
8 years ago
Sean Bowe
83ee1903fc
Add tests for `CZCPaymentAddress`.
8 years ago
Sean Bowe
e104fcddf8
Use base58check to encode Zcash payment addresses, such that the first two bytes are "zc".
8 years ago
Sean Bowe
62b7cd6173
Do not encode leading bytes in `PaymentAddress` serialization; this is a task for a higher-level API.
8 years ago
Jack Grigg
284e125957
Update tests for new difficulty algorithm
8 years ago
Jack Grigg
f2c48e15e5
Implement new difficulty algorithm ( #931 )
The algorithm is based on DigiShield v3/v4.
8 years ago
Sean Bowe
d212ba320b
Disable enforced coinbase protection in miner_tests.
8 years ago
Sean Bowe
a180d0a6c6
Rename to `fCoinbaseMustBeProtected`.
8 years ago
Sean Bowe
89f3cd11c7
Ensure NonContextualCheckInputs runs before routines in ContextualCheckInputs.
8 years ago
Sean Bowe
542da618df
Enforce remaining softfork activation rules unconditionally.
8 years ago
Sean Bowe
b3be1ef529
Enforce BIP16 and BIP30 unconditionally to all blocks.
8 years ago
Jack Grigg
09e9a329b7
Tweaks after review
8 years ago
Sean Bowe
a667caec13
Ensure mempool integrity checks don't trip on chained joinsplits.
8 years ago
Sean Bowe
c0dde76d8a
Disable coinbase-must-be-protected rule on regtest.
8 years ago
Sean Bowe
1d38795f50
Prevent coinbases from being spent to transparent outputs.
8 years ago
Sean Bowe
2c901fd87d
Refactor contextual and noncontextual input checks.
8 years ago
Sean Bowe
10df6fb3df
Rename `CheckInputs` to `ContextualCheckInputs` since it relies on a global variable
and assumes calling conditions.
8 years ago
Jack Grigg
f3aee6b109
Update miner tests for platform-independent Equihash
8 years ago
Jack Grigg
6f14382a02
Regenerate genesis blocks
8 years ago
Jack Grigg
933cb4cd9f
Use htole32 and htobe32 for endian conversions
8 years ago
Jack Grigg
a6dcf2ee6f
Use little-endian for hash personalisation and hashing indices
The test vectors have been regenerated using the basic solver.
8 years ago
Jack Grigg
d07cf62991
Speed up FullStepRow index comparison by leveraging big-endian byte layout
8 years ago
Jack Grigg
1dd8ce9ba5
Update tests to account for new Equihash parameters
8 years ago
Jack Grigg
ae37d2a4cd
Increase Equihash parameters to n = 96, k = 3 (about 430 MiB)
Includes a tweak to set the fixed-width of the rows based on whether the first
or last round is widest. This is necessary for some parameters, these ones
included.
8 years ago
Jack Grigg
3fe29eab90
Fix failing tests
8 years ago
Jack Grigg
d4388ed52b
Updated a hard-coded number of blocks to account for decreased block interval
8 years ago
Jack Grigg
a59c352cfd
Update tests to account for decreased block interval
8 years ago
Jack Grigg
45e3deea8a
Decrease block interval to 2.5 minutes
8 years ago
Taylor Hornby
57c074e1e4
Enable -alertnotify for hard fork detection. Test it.
8 years ago
Simon
dca3af5bde
Update variable name.
8 years ago
Simon
574f0bca77
Update to DistinctIndices function (for issue #857 ).
Replaces pull request #974 .
8 years ago
Sean Bowe
ecd8ca5dbe
Minor changes to coins_tests.
8 years ago
Sean Bowe
49ab032b5f
Add test to ensure parent treestates only can appear earlier in the transaction or in the global state, not later.
8 years ago
Jack Grigg
50121909aa
Update tests to account for reserved field
8 years ago
Jack Grigg
2ce992956b
Regenerate genesis blocks
8 years ago
Jack Grigg
a5150a156e
Set -relaypriority default to false
This enables spending of individual coins during mining slow start.
Closes #904 .
8 years ago
Jack Grigg
a8d384aeda
Add a 256-bit reserved field to the block header
This field has no defined semantics. While it was added as a result of
discussions about merged mining in #724 , this field will not necessarily ever be
used for that purpose.
8 years ago
Simon
edab3ddd2e
Implement issue #997 to reduce time for test_bitcoin due to sleeps in
addrman. Related to issue #717 .
8 years ago
Sean Bowe
1744fec274
Update the zkSNARK parameters.
8 years ago
Sean Bowe
c5f766b9b1
Change merkle tree depth to 29.
8 years ago