Commit graph

8653 commits

Author SHA1 Message Date
Ross Nicoll f448038b5f Introduce basic Dogecoin branding 2015-10-31 14:49:39 +00:00
Max K. 73699f25bb Merge pull request #1291 from patricklodder/1.10-enforce-low-s
Make low-s verification mandatory for standard script verification
2015-10-18 18:50:28 +02:00
Max K. 6e2193703e Merge pull request #1300 from patricklodder/1.10-display-bloom-service
[Qt] [minor] Add textual descriptor for NODE_BLOOM service flag
2015-10-17 12:34:41 +02:00
Patrick Lodder d253997022 [Qt] Add textual descriptor for NODE_BLOOM service flag
Displays NODE_BLOOM service as "BLOOM" instead of "UNKNOWN[2]"
in qt->debug->peers
2015-10-17 11:17:16 +02:00
Max K. 260c78ea9f Merge pull request #1297 from patricklodder/1.10-aux-rpc-target
Bring back "target" property of getauxblock
2015-10-13 23:10:33 +02:00
Patrick Lodder 6cee9dcd28 Bring back "target" property of getauxblock
Marked as deprecated but still used in many pool implementations,
as well as rpc-tests. This restores AuxPoW compatibility to 100%.
2015-10-13 16:56:14 +02:00
Patrick Lodder b8893fe7db Merge pull request #1294 from rnicoll/1.10-dev-miniupnpc
Merge in miniupnpc updates from Bitcoin Core
2015-10-10 22:06:22 +02:00
Ross Nicoll 212b31616c Merge in miniupnpc updates from Bitcoin Core
Contains:

0cca0248f0
9f3e48e521
888c595cff
00c5a73136
2015-10-10 16:14:26 +00:00
Patrick Lodder 1b8848d5f3 Make low-s verification mandatory for standard script verification
This change makes a node only accept transactions with low-s
signature encoding for relay and mining, but allows transactions
with high-s signature encoding in mined blocks (no blocks will
be rejected)

Pros:
- If deployed by all miners, this will eliminate this particular
  malleability attack.
- There is no impact on consensus

Cons:
- Wallets that do not implement low-s signature encoding will
  see their transactions be rejected by growing numbers of peers
  and ultimately not be able to get any transaction mined.

Follow ups:
- Eventually, this verification needs to be confirmed through a
  consensus rule (enforcement of BIP62)
2015-10-06 17:51:59 +02:00
Max K. 22c40283bd Merge pull request #1270 from rnicoll/1.10-fixmes
Update block height used to determine relevant parameters
2015-09-09 00:22:44 +02:00
J Ross Nicoll 8f17f8f732 Update block height used to determine relevant parameters 2015-09-08 20:51:24 +00:00
Max K. f5c4d8b2fb Merge pull request #1276 from rnicoll/1.10-fees
Correct fee calculations to match legacy Dogecoin
2015-09-08 22:05:19 +02:00
J Ross Nicoll ce196a9bfc Match fee calculation to legacy code
Purge all support for zero-fee transactions
Disable IsDust() for backwards compatibility
2015-09-06 11:37:03 +01:00
Ross Nicoll 070af086a2 Merge pull request #1277 from patricklodder/1.10-fix-travis-extra-compiler
fix for travis generating an extra build
2015-09-06 09:17:02 +01:00
Cory Fields f440857d30 travis: fix for travis generating an extra build 2015-09-05 13:24:25 +02:00
Patrick Lodder 8455bdeb90 Merge pull request #1273 from rnicoll/1.10-testnet
Update testnet checkpoints and remove old seed
2015-08-30 19:26:11 +02:00
J Ross Nicoll 11f6882983
Update testnet checkpoints and replace old seed 2015-08-30 17:53:13 +01:00
Patrick Lodder 337bc990e8 Merge pull request #1274 from rnicoll/1.10-missing-newline
Corrected missing new lines in error messages
2015-08-30 18:48:53 +02:00
J Ross Nicoll 1d92617e15 Corrected missing new lines in error messages 2015-08-29 17:33:02 +01:00
Patrick Lodder b6e7c91060 Merge pull request #1269 from langerhans/1.10-dev-nodebloom
Add NODE_BLOOM service bit
2015-08-29 00:02:49 +02:00
Peter Todd acb08f053a Add NODE_BLOOM service bit and bump protocol version
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
2015-08-28 20:45:39 +02:00
Max K. 31f2d1ae92 Merge pull request #1268 from patricklodder/1.10-auxpow-tests
auxpow tests
2015-08-26 22:33:28 +02:00
Patrick Lodder 4dce3af38e Add AUXPoW rpc tests
- Tests the auxpow rpc interface `getauxblock`
- Tests consensus constraints for auxpow:
  - Minimum block height
  - Valid scrypt proof of work
  - Foreign chain ID

This test requires the python package ltc_scrypt. Installation of
this module is scripted in qa/pull-tester/install-deps.sh and has
been integrated for travis CI.
2015-08-26 22:14:51 +02:00
Max K. 442c82da4a Merge pull request #1267 from patricklodder/1.10-strict-auxpow
[auxpow] Check for auxpow fork strictly
2015-08-26 21:54:10 +02:00
Max K. 340163962e Merge pull request #1264 from patricklodder/1.10-auxrpc-no-bip22
[auxpow] Guarantee backward compatibility on getauxblock
2015-08-26 21:52:55 +02:00
Patrick Lodder 229106e27f fix rest.py test: cannot mine an auxpow block at height 1 2015-08-23 17:22:04 +02:00
Patrick Lodder e2334c99e6 [auxpow] Guarantee backward compatibility on getauxblock
Adds a wrapper around getauxblock to return boolean responses
for getauxblock rather than bip22 responses.
2015-08-23 16:13:41 +02:00
Patrick Lodder 248dbdd121 [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.
2015-08-23 15:58:47 +02:00
Max K. 50b3b35f99 Merge pull request #1247 from rnicoll/1.10-attribution
Add attributions to source files
2015-08-15 12:46:52 +02:00
J Ross Nicoll b01c5e6883
Add attributions to source files 2015-08-14 22:32:47 +01:00
Max K. 12cde02eea Merge pull request #1229 from rnicoll/1.10-fork-detection
Update fork detection parameters for Dogecoin block time
2015-08-13 18:43:55 +02:00
Max K. 1027b821df Merge pull request #1238 from rnicoll/1.10-block-notify-height
Add block height to block notification
2015-08-13 18:41:49 +02:00
stolen data 5bbb601003 advertise block height addition to -blocknotify 2015-08-11 19:30:15 +00:00
Ross Nicoll b668629143 Add block height to block notification substitution options 2015-08-11 19:27:05 +00:00
Max K. e0b0c0a84b Merge pull request #1233 from patricklodder/1.10-travis-osx-sdk
[travis] hosted, acl'ed osx sdk
2015-08-11 08:12:10 +02:00
Max K. 38306e8921 Merge pull request #1235 from rnicoll/1.10-disable-pp
Disable payment protocol certificate unit tests
2015-08-11 08:11:34 +02:00
Max K. 605ff9a796 Merge pull request #1232 from patricklodder/1.10-disable-win-tests
[travis] disable windows tests
2015-08-11 08:07:36 +02:00
Max K. b97b19c9f3 Merge pull request #1236 from rnicoll/1.10-gitian-descriptors
Replace Bitcoin with Dogecoin in Gitian descriptors
2015-08-10 23:20:35 +02:00
Max K. ce3d85f505 Merge pull request #1219 from rnicoll/1.10-gitiant
Replace Gitian keys
2015-08-10 22:29:25 +02:00
Ross Nicoll a9f87d3c28
Replace Gitian keys
Note I've removed Leofidus' key due to inactivity, and added a weight of 20
to whit's key.
2015-08-10 21:14:42 +01:00
Ross Nicoll d7fe9d86bf
Replace Bitcoin with Dogecoin in Gitian descriptors 2015-08-10 21:14:10 +01:00
Ross Nicoll a5b7abf8a6 Merge pull request #1231 from patricklodder/1.10-majority-v2-constraints
Re-enable SuperMajority triggered activation for v2 block constraints
2015-08-10 20:24:39 +01:00
Ross Nicoll 61e0e2ba45 Merge pull request #1234 from patricklodder/1.10-constraint-flags
Enable block constraints for BIP16 and 30 properly
2015-08-10 20:07:34 +01:00
Ross Nicoll 9ea384d545 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.
2015-08-10 20:01:14 +01:00
Patrick Lodder c3a4a0574e Enable block constraints properly
BIP16 and BIP30 have both been enabled on Dogecoin since inception
and should not be conditional.
2015-08-10 15:55:45 +02:00
Patrick Lodder 5cafd5e4b6 [travis] hosted, acl'ed osx sdk 2015-08-10 15:11:33 +02:00
Patrick Lodder dc093a8c3c [travis] disable windows tests 2015-08-10 14:26:40 +02:00
Patrick Lodder 2d332d242a 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.
2015-08-10 10:54:28 +02:00
Max K. 5123a058ec Merge pull request #1224 from rnicoll/1.10-paperwallet
Add paper wallet generator to QT wallet
2015-08-07 23:29:55 +02:00
Ross Nicoll 0e4f62a3a9 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.
2015-08-07 21:23:56 +00:00