| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |/ / |
|
| | |\ \ \
| | | | |
| | | | | |
Corrected missing new lines in error messages
|
| | | |/ / |
|
| | |\ \ \
| | |/ /
| |/| | |
Add NODE_BLOOM service bit
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Lets nodes advertise that they offer bloom filter support explicitly.
The protocol version bump allows SPV nodes to assume that NODE_BLOOM is
set if NODE_NETWORK is set for pre-70002 nodes.
Also adds an undocumented option to turn bloom filter support off for
testing purposes. Nodes attempting to use bloom filters are immediately
dropped so as to not waste their bandwidth.
ensure backward compatible service bits
update protocol version to 70004
|
| | |\ \ \
| | | | |
| | | | | |
[auxpow] Check for auxpow fork strictly
|
| | | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
Disallow any auxpow block before the blockheight where auxpow gets enabled.
For consistency, this also re-enables legacy headers on regtest.
|
| | |/ /
| | |
| | |
| | |
| | | |
Adds a wrapper around getauxblock to return boolean responses
for getauxblock rather than bip22 responses.
|
| | | | |
|
| | |\ \
| | | |
| | | | |
Update fork detection parameters for Dogecoin block time
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I've multiplied fork detection parameters by 5 - the wall clock time elapsed for "long" forks
is therefore half that of Bitcoin, but IMHO those figures are excessive for a chain with 1
minute block times.
|
| | | | | |
|
| | | | | |
|
| | |\ \ \
| | | | |
| | | | | |
Disable payment protocol certificate unit tests
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Disable payment protocol certificate unit tests; we don't modify this code,
and regenerating the test data is likely to be significantly time consuming.
Will re-enable once discussion on spec is concluded.
|
| | |\ \ \ \
| | | | | |
| | | | | | |
Re-enable SuperMajority triggered activation for v2 block constraints
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Start validating v2 blocks when there is a v3 supermajority, because
v2 clients (1.5->1.8) had supermajority checks disabled.
This is needed for future-proofing, so that a currently accepted,
but invalid v2 block will also be accepted on newer nodes.
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
BIP16 and BIP30 have both been enabled on Dogecoin since inception
and should not be conditional.
|
| | | | | | |
|
| | |/ / / |
|
| | |\ \ \
| | | | |
| | | | | |
changing CAmount (is a int64_t) to arith_uint256 for nTotalAmount
|
| | | | | |
| | | | |
| | | | |
| | | | | |
CCoinsStats to prevent overflow
|
| | |\ \ \ \
| | | | | |
| | | | | | |
Revised payment request handling to use genesis block hash
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
network name
Revised payment request handling to use genesis block hash instead of network name, enabling
support for more networks that just Bitcoin main and test net.
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This updated various time-based constants to more closely reflect values
appropriate to Dogecoin:
* Number of blocks to look back for BIP 66 enforcement is doubled on
main net (to about a day and a half's worth, vs 5 days on Bitcoin),
and raised to 1,000 on testnet (bringing it up to the same quantity
as Bitcoin testnet).
* BIP 66 enforcement cut-offs are scaled up appropriate.
* Minimum number of blocks and blockchain size are increased for
pruning. In comparison to Bitcoin this uses 24 hours as a minimum,
rather than 48, although given blocks are rarely full this likely
reflects a lot longer in reality.
|
| | |/ / / |
|
| | |\ \ \
| | | | |
| | | | | |
Update checkpoints
|
| | | | | | |
|
| | |\ \ \ \
| | | | | |
| | | | | | |
Minor fixes to concensus relevant parameters
|
| | | | | | | |
|
| | | |/ / /
| | | | |
| | | | |
| | | | | |
short block times
|
| | |\ \ \ \
| | |/ / /
| |/| | | |
Add Dogecoin current fee calculation logic
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Introduces 1 COIN/kb fees, rounded up to the next 1 COIN.
Disable free transactions
Dust outputs incur a 1 COIN additional fee
Add unit tests for fee calculation
Update existing unit tests with higher transaction values so that transactions are still standard
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add chain height when fetching consensus parameters in initialization,
this code was missed in the first patch as it was disabled at the time.
|
| | |\ \ \ \
| | | | | |
| | | | | | |
Bring client up to date with Bitcoin Core 0.11.0
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This prevents an edge case where a block downloaded and pruned
in-between successive calls to FindNextBlocksToDownload could
cause the block to be unnecessarily re-requested.
Github-Pull: #6233
Rebased-From: 3e9143386a90e508c8d41719294db11264f5f0a0
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- fixes #3136
- the problem is related to Boost path and a static initialized internal
pointer
- using a std::string in CDBEnv::EnvShutdown() prevents the problem
- this removes the boost::filesystem::path path field from CDBEnv
Github-Pull: #6282
Rebased-From: 0ce30eaa36295447c6e7f8d16a05798c746fe28a
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Github-Pull: #6246
Rebased-From: 0640a5eb60b06de61f873fd88ae0252f5a11c339
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Re-enable partition check, it should be safe again after #6256.
This reverts commit 3eada74d6f4720e650c67461c04c3aafdeaff21e.
|
| | |\ \ \ \ \
| | | | | | |
| | | | | | | |
Add Scrypt hash and AuxPoW header to index database
|
| | | | |_|/ /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add Scrypt hash and AuxPoW header to index database so that index can be validated
(a check that both Litecoin and Namecoin disable for simplicity). The index format
is incompatible with 1.8, as a result, however, and guidelines on performing the
upgrade will need to be prepared.
Given scope of the change, it may be advisable for services to prepare bootstrap files and destroy existing index databases entirely before reindexing. To discuss.
|
| | |\ \ \ \ \
| | |_|/ / /
| |/| | | | |
Remove hard coded switch on whether simplified rewards are used.
|
| | | |/ / / |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Replaced references to Namecoin with Dogecoin
Set chain ID when constructing a new block to be mined
Added assignment overload so that assigning one BlockVersion to another does a full copy.
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
There is no previous block when validating the genesis block as part of contextual checks,
so block height cannot be used. Consensus parameters are now taken from height 0 for
the genesis check, and from block height only if the it's not the genesis block.
|
| | | | |
|
| | | |
| | |
| | |
| | | |
maximum Dogecoin in a payment request.
|
| | | |
| | |
| | |
| | | |
issue where a 51% attack can change difficulty at will. Go back the full period unless it's the first retarget after genesis.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Updated maximum coins to match Dogecoin.
Updated protocol version to disable connections to pre-AuxPoW clients.
Disable version 2 block requirement
Update coinbase maturity to match Dogecoin
|
| | | | |
|