Jorge Timón
998129b0c3
Chainparams: decouple anyonecanspend are mine from regtest
2017-09-28 04:53:36 +02:00
Jorge Timón
52dcf9bd88
Remove chainparamsseeds.h
2017-09-21 06:59:14 +02:00
Gregory Sanders
b76b0b2270
Change network settings commitment to sha2, include in asset type def
2017-08-24 15:28:44 -04:00
Gregory Sanders
8c1ba39a02
Replace static BITCOINID with generated pegged_asset using standard issuance derivation
2017-08-24 14:30:35 -04:00
Gregory Sanders
ae1f058433
Only use chainparams to access BITCOINID as pegged_asset
2017-08-24 14:30:35 -04:00
Gregory Sanders
000ab241f7
Add pegged_asset field to consensus params
2017-08-24 14:30:35 -04:00
Gregory Sanders
5dcf8a3f50
Merge pull request #187 from jtimon/e14-fedpegscript-hf
...
HF: Genesis block includes fedpegscript and signblockscript
2017-07-19 09:57:37 -04:00
Gregory Sanders
77fd811920
change base58 prefix for script addresses
2017-07-07 16:28:28 -04:00
Gregory Sanders
db42451290
HF: Genesis block includes fedpegscript
2017-07-04 17:18:38 +02:00
Gregory Sanders
a1ed9bfd34
Merge pull request #188 from jtimon/e14-remove-chainparams-bitcoinid
...
Remove CChainParams::bitcoinID
2017-06-27 09:53:34 -04:00
Jorge Timón
32873fc0f6
Remove CChainParams::bitcoinID
...
Using Bitcoin genesis mainnet hash for pegged-bitcoin asset id was a
mistake in the first place.
2017-06-22 02:16:36 +02:00
Akio Nakamura
dd0431578e
type of supportedChains changed
2017-06-21 20:36:26 +09:00
Mark Friedenbach
a25f6c6e08
CA: CAssetID -> CAsset
2017-06-16 12:02:33 -04:00
Mark Friedenbach
892cb984ae
CA: uint256 -> CAssetID
2017-06-16 12:02:33 -04:00
Gregory Sanders
c5533245b8
Give genesis block BITCOINID asset type
2017-06-16 12:02:15 -04:00
Gregory Sanders
f106eabc4d
New address prefix: CTE
2017-06-16 12:02:14 -04:00
Eric Martindale
bdfe5e2e25
Migrate project naming from "Beta" to "Elements"
...
Note: this also changes the CHAINPARAMS_ELEMENTS constant! The new
network name is simply `elements`, and similarly regtest is now
`elementsregtest`
2017-06-16 12:02:14 -04:00
Jonas Nick
1287eaa0d9
QA: Allow setting the fedpeg script with a command line argument
...
- In both default and regtest modes
- The script is stored
- BaseSignatureChecker is used to pass it to the interpreter
Modified by jtimon
2017-06-16 12:02:13 -04:00
Jonas Nick
4ad6b57068
QA: Add -signblockscript command line argument
2017-06-16 12:02:13 -04:00
Jorge Timón
b8787ae9a4
Introduce static CScript StrHexToScriptWithDefault() in chainparams.cpp
2017-06-16 12:02:13 -04:00
instagibbs
9f4ea3d03f
Add parent genesis hash to chainparams, simplify checks
2017-06-16 12:02:13 -04:00
instagibbs
c87debb048
Add parentChainPowLimit, check in CheckBitcoinProof
2017-06-16 12:02:12 -04:00
Matt Corallo
8244b22a91
Require coinbase outputs be to a specific script
2017-06-15 14:31:26 -04:00
Matt Corallo
9d473c544f
new chain
2017-06-15 14:31:25 -04:00
Matt Corallo
cf73307455
Set network parameters
2017-06-15 14:31:25 -04:00
Matt Corallo
22fe56ca87
Split genesis output into 100 identical outputs
2017-06-15 14:31:25 -04:00
Matt Corallo
52bb2803d3
Fix genesis block creation
2017-06-15 14:31:25 -04:00
Matt Corallo
d2b1a83e4c
Randomly permutate ports
2017-06-15 14:31:25 -04:00
Matt Corallo
1950b69e6e
Add base58 support for blinded addresses
2017-06-15 14:30:12 -04:00
Matt Corallo
fc86bc95c2
No subsidy, 21 million genesis block
2017-06-15 14:20:38 -04:00
jtimon
db42a26b72
Implement basic private chain mode
2017-06-15 14:20:37 -04:00
Matt Corallo
0e97c5e468
Un-hard-code genesis hashes
2017-06-15 14:20:37 -04:00
Jorge Timón
f5237ea98b
Elements: Start Alpha
2017-06-15 14:20:34 -04:00
Jorge Timón
ee9c9e8183
Elements: Remove testnet3
2017-06-15 14:11:49 -04:00
Jorge Timón
863d8e9265
Checkpoints: The hash of the genesis block it's the genesis checkpoint and chain id
2017-06-15 14:11:48 -04:00
Jorge Timón
be11723471
[upstream #8994 ] Testchains: Introduce custom chain whose constructor...
...
...reads params from regular arguments or the general conf file
2017-06-15 14:11:48 -04:00
Jorge Timón
713a4601f8
[upstream #8855 ] Chainparams: Get rid of CChainParams& Params(std::string)
2017-06-15 14:11:48 -04:00
Jorge Timón
8335a9ea8e
[upstream #8855 ] Chainparams: Use a regular factory for creating chainparams
2017-06-15 14:11:48 -04:00
Gregory Maxwell
3f78e460ba
Update nMinimumChainWork and defaultAssumeValid.
2017-02-16 19:31:03 +00:00
Jonas Schnelli
ca9955e706
Remove bitseed.xf2.org form the dns seed list
2017-02-09 11:28:01 +01:00
Gregory Maxwell
e440ac7ef3
Introduce assumevalid setting to skip presumed valid scripts.
...
This disentangles the script validation skipping from checkpoints.
A new option is introduced "assumevalid" which specifies a block whos
ancestors we assume all have valid scriptsigs and so we do not check
them when they are also burried under the best header by two weeks
worth of work.
Unlike checkpoints this has no influence on consensus unless you set
it to a block with an invalid history. Because of this it can be
easily be updated without risk of influencing the network consensus.
This results in a massive IBD speedup.
This approach was independently recommended by Peter Todd and Luke-Jr
since POW based signature skipping (see PR#9180) does not have the
verifiable properties of a specific hash and may create bad incentives.
The downside is that, like checkpoints, the defaults bitrot and older
releases will sync slower. On the plus side users can provide their
own value here, and if they set it to something crazy all that will
happen is more time will be spend validating signatures.
Checkblocks and checklevel are also moved to the hidden debug options:
Especially now that checkblocks has a low default there is little need
to change these settings, and users frequently misunderstand them as
influencing security or IBD speed. By hiding them we offset the
space added by this new option.
2017-01-13 15:42:24 +00:00
Pieter Wuille
df3637177a
Update estimated transaction count data
2017-01-11 08:21:40 -08:00
Pieter Wuille
e356d9a758
Shorten variable names and switch to tx/s
2017-01-11 08:21:37 -08:00
Pieter Wuille
3641141c8f
Move tx estimation data out of CCheckPointData
2017-01-04 13:18:49 -08:00
isle2983
27765b6403
Increment MIT Licence copyright header year on files modified in 2016
...
Edited via:
$ contrib/devtools/copyright_header.py update .
2016-12-31 11:01:21 -07:00
Pieter Wuille
b4e4ba475a
Introduce convenience type CTransactionRef
2016-11-19 17:53:23 -08:00
Pieter Wuille
1662b437b3
Make CBlock::vtx a vector of shared_ptr<CTransaction>
2016-11-19 17:51:09 -08:00
Gregory Maxwell
fd46136dfa
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.
2016-11-02 01:47:02 +00:00
Wladimir J. van der Laan
dd07c6b2cc
Merge #8921 : RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPC
...
b26a7b5 RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPC (Jorge Timón)
2016-10-18 13:31:59 +02:00
Jorge Timón
b26a7b5377
RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPC
2016-10-18 13:17:38 +02:00