Jonas Nick
51cc3a77fb
QA: Add -signblockscript command line argument
2017-02-02 10:59:00 -05:00
Jorge Timón
cd12c3e62f
Introduce static CScript StrHexToScriptWithDefault() in chainparams.cpp
2017-02-02 10:59:00 -05:00
Jorge Timón
e2aef80ab8
Preparations: Pass mapArgs to CChainParams::Factory
2017-02-02 10:59:00 -05:00
instagibbs
934023c7ea
Add parent genesis hash to chainparams, simplify checks
2017-02-02 10:58:57 -05:00
instagibbs
85be0821fa
Add parentChainPowLimit, check in CheckBitcoinProof
2017-02-02 10:58:51 -05:00
Matt Corallo
c04435d2f0
rotate addresses for new chain again
2017-02-02 10:58:50 -05:00
Matt Corallo
0156202474
Require coinbase outputs be to a specific script
2017-02-02 10:58:49 -05:00
Matt Corallo
5427f23c17
new chain
2017-02-02 10:58:49 -05:00
Matt Corallo
44cff58a62
Set network parameters
2017-02-02 10:58:49 -05:00
Matt Corallo
e4d23926a7
Split genesis output into 100 identical outputs
2017-02-02 10:58:49 -05:00
Matt Corallo
832e8f9a12
Fix genesis block creation
2017-02-02 10:58:49 -05:00
Matt Corallo
40a12f6c68
Change constant keys to shit I found on google
...
(note script/interpreter must match wallet/rpcwallet)
2017-02-02 10:58:49 -05:00
Matt Corallo
12129946d5
Randomly permutate ports
2017-02-02 10:58:49 -05:00
Matt Corallo
f044cba41a
Add base58 support for blinded addresses
2017-02-02 10:58:48 -05:00
Matt Corallo
0663a9bf9f
No subsidy, 21 million genesis block
2017-02-02 10:58:48 -05:00
jtimon
911294c696
Refactors in anticipation of private chain mode
2017-02-02 10:58:43 -05:00
Matt Corallo
101d8d7085
Un-hard-code genesis hashes
2016-11-01 11:48:16 -04:00
Jorge Timón
568827dce1
Elements: Start Alpha
2016-11-01 11:48:16 -04:00
Jorge Timón
28c3d990e6
Elements: Remove testnet3
2016-11-01 11:48:16 -04:00
Jorge Timón
d16d076053
Checkpoints: The hash of the genesis block it's the genesis checkpoint and chain id
2016-11-01 11:48:16 -04:00
Matt Corallo
595f6bda3a
Chainparams: Get rid of CChainParams& Params(std::string)
2016-11-01 11:48:16 -04:00
Jorge Timón
7731e3973f
Chainparams: Use a regular factory for creating chainparams
2016-11-01 11:48:16 -04:00
Christian Decker
5b4192bc4c
My DNS seed supports filtering
...
Currently supports filtering by any combination of the 4 least
significant bits.
Github-Pull: #8940
Rebased-From: 2449e12681
2016-10-17 19:43:40 +02:00
Matt Corallo
3d770a88d3
Add x9 service bit support to dnsseed.bluematt.me
...
Github-Pull: #8940
Rebased-From: ffb4713920
2016-10-17 19:43:11 +02:00
Matt Corallo
9aa0c15972
Comment that most dnsseeds only support some service bits combos
...
Github-Pull: #8940
Rebased-From: 504c72ad34
2016-10-17 19:42:58 +02:00
Pieter Wuille
8b66659921
Define start and end time for segwit deployment
...
Github-Pull: #8937
Rebased-From: f9c23dea97
2016-10-17 16:52:31 +02:00
Suhas Daftuar
198494ce53
Allow changing BIP9 parameters on regtest
...
Github-Pull: #8418
Rebased-From: 56c87e9211
2016-09-26 16:46:19 +02:00
Jonas Schnelli
4f84082a74
Set jonasschnellis dns-seeder filter flag
...
Github-Pull: #8573
Rebased-From: 40a95cfd8f
2016-09-21 02:43:47 +00:00
Wladimir J. van der Laan
d612837814
Merge #8149 : Segregated witness rebased
...
f852813 BIP9 parameters for testnet (Johnson Lau)
070dbc4 --- [SEGWIT] begin: deployment --- (Pieter Wuille)
fdb43df [qa] Add GetTransactionSigOpCost unit tests (Jonas Nick)
d846e02 [qa] script_tests: witness tests can specify tx amount (Suhas Daftuar)
330b0f3 [qa] p2p segwit tests (Suhas Daftuar)
4f7ff00 [qa] Add rpc test for segwit (Alex Morcos)
66cca79 [qa] Autogeneration support for witness in script_tests (Pieter Wuille)
06d3805 [qa] Add segwit support to script_tests (Pieter Wuille)
00f46cb [qa] Add transaction tests for segwit (NicolasDorier)
0aa9207 [qa] Witness version 0 signing unit tests (Pieter Wuille)
978e200 --- [SEGWIT] begin: tests --- (Pieter Wuille)
745eb67 [RPC] signrawtransaction can sign P2WSH (NicolasDorier)
f4691ab [RPC] Add wallet support for witness transactions (using P2SH) (Pieter Wuille)
605e847 BIP143: Signing logic (Pieter Wuille)
9757b57 --- [SEGWIT] begin: wallet --- (Pieter Wuille)
af87a67 Do not use compact blocks when segwit is enabled (Pieter Wuille)
6032f69 Add rewind logic to deal with post-fork software updates (Pieter Wuille)
b7dbeb2 [libconsensus] Script verification API with amounts (Thomas Kerin)
2b1f6f9 BIP141: Other consensus critical limits, and BIP145 (Pieter Wuille)
7c4bf77 [RPC] Return witness data in blockchain RPCs (Johnson Lau)
3dd4102 BIP143: Verification logic (Pieter Wuille)
0ef1dd3 Refactor script validation to observe amounts (Pieter Wuille)
b8a9749 BIP144: Handshake and relay (receiver side) (Pieter Wuille)
8b49040 BIP141: Commitment structure and deployment (Pieter Wuille)
449f9b8 BIP141: Witness program (Pieter Wuille)
7030d9e BIP144: Serialization, hashes, relay (sender side) (Pieter Wuille)
ecacfd9 --- [SEGWIT] begin: P2P/node/consensus --- (Pieter Wuille)
2016-06-24 18:07:44 +02:00
Pieter Wuille
133deb83df
Mark my dnsseed as supporting filtering
2016-06-23 15:44:35 +02:00
Wladimir J. van der Laan
08338942b5
Merge #8204 : Update petertodd's testnet seed
...
d80efec Update petertodd's testnet seed (Peter Todd)
2016-06-23 13:04:42 +02:00
Johnson Lau
f8528134fc
BIP9 parameters for testnet
2016-06-22 15:43:02 +02:00
Pieter Wuille
8b49040854
BIP141: Commitment structure and deployment
...
Includes a fix by Suhas Daftuar and LongShao007
2016-06-22 15:42:59 +02:00
Pieter Wuille
bc0a895d81
Do not set extra flags for unfiltered DNS seed results
2016-06-15 19:31:58 +02:00
Peter Todd
d80efec327
Update petertodd's testnet seed
...
New seed with servicebit filtering support.
2016-06-15 00:11:39 -04:00
Jonas Schnelli
2d83013dc5
Add support for dnsseeds with option to filter by servicebits
2016-05-25 14:57:24 +02:00
MarcoFalke
fada0c422c
[doc] Fix doxygen comments for members
2016-04-03 11:58:01 +02:00
Wladimir J. van der Laan
e8a8f3d4b2
Merge #7648 : BIP9 versionbits softfork for BIP68, BIP112 and BIP113
...
71527a0 Test of BIP9 fork activation of mtp, csv, sequence_lock (NicolasDorier)
19d73d5 Add RPC test for BIP 68/112/113 soft fork. (Alex Morcos)
12c89c9 Policy: allow transaction version 2 relay policy. (BtcDrak)
02c2435 Soft fork logic for BIP68 (BtcDrak)
478fba6 Soft fork logic for BIP113 (BtcDrak)
65751a3 Add CHECKSEQUENCEVERIFY softfork through BIP9 (Pieter Wuille)
2016-03-30 18:59:39 +02:00
BtcDrak
1b77471bd6
Remove alert keys
2016-03-18 19:55:16 +00:00
Pieter Wuille
65751a3cf2
Add CHECKSEQUENCEVERIFY softfork through BIP9
2016-03-18 08:09:06 +00:00
Suhas Daftuar
532cbb22b5
Add testing of ComputeBlockVersion
2016-03-15 16:54:39 +01:00
Pieter Wuille
6851107b3a
BIP9 Implementation
...
Inspired by former implementations by Eric Lombrozo and Rusty Russell, and
based on code by Jorge Timon.
2016-03-15 16:54:38 +01:00
Wladimir J. van der Laan
47c5ed19f3
Merge pull request #7208
...
64360f1 Make max tip age an option instead of chainparam (Wladimir J. van der Laan)
2016-01-18 11:55:59 +01:00
Wladimir J. van der Laan
605c17844e
Merge pull request #7205
...
fa71669 [devtools] Use git pretty-format for year parsing (MarcoFalke)
fa24439 Bump copyright headers to 2015 (MarcoFalke)
fa6ad85 [devtools] Rewrite fix-copyright-headers.py (MarcoFalke)
2016-01-05 14:11:40 +01:00
Elias Rohrer
e18378e53f
Removed offline testnet DNSSeed 'alexykot.me'.
2015-12-15 14:53:15 +01:00
Wladimir J. van der Laan
64360f1304
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.
2015-12-14 13:29:28 +01:00
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
2015-12-13 18:08:39 +01:00
Pieter Wuille
eece63fa72
Switch blocks to a constant-space Merkle root/branch algorithm.
...
This switches the Merkle tree logic for blocks to one that runs in constant (small) space.
The old code is moved to tests, and a new test is added that for various combinations of
block sizes, transaction positions to compute a branch for, and mutations:
* Verifies that the old code and new code agree for the Merkle root.
* Verifies that the old code and new code agree for the Merkle branch.
* Verifies that the computed Merkle branch is valid.
* Verifies that mutations don't change the Merkle root.
* Verifies that mutations are correctly detected.
2015-11-27 15:36:52 +01:00
Alex Morcos
33c90cf197
Make skipping BIP30 check chain agnostic
2015-11-02 20:11:55 -05:00
Wladimir J. van der Laan
e26a3f6713
Merge pull request #6235
...
55a8975 Chainparams: Translations: DRY: options and error strings (Jorge Timón)
f3525e2 Chainparams: Replace CBaseChainParams::Network enum with string constants (suggested by Wladimir) (Jorge Timón)
2015-10-20 17:06:28 +02:00