Holger Schinzel
e1702cd4ec
bump copyright notice to 2017 ( #1207 )
2016-12-20 17:26:45 +04:00
Tim Flynn
8fc8e6c8c2
Implement rate check using buffer ( #1202 )
...
* Implemented buffer for masternode rate checks
* Change upper limit on object timestamp to 1 hour in the future
2016-12-14 19:28:55 +04:00
UdjinM6
072b0fd708
fix annoying compiler warnings ( #1204 )
2016-12-14 17:33:46 +04:00
Tim Flynn
c31ba8ba4c
New vote tallying implementation ( #1135 )
2016-11-13 21:52:34 +04:00
UdjinM6
6af7a58d92
Merge remote-tracking branch 'bitcoin/0.12' into mergebtc12, fix/dashify
...
NOTE: .travis.yml was mostly preserved, probably needs additional attention
2016-08-26 04:09:20 +03:00
UdjinM6
7d55e623a8
Merge #945 : More dash->dashcore
...
a5328a1
Change Dash -> Dash Core where appropriate (in strings)
b8696d9
Change user/group dash->dashcore
69dc9f1
Change dash->dashcore for /etc/ and /var/lib/ folders
2016-08-19 05:46:30 -06:00
Evan Duffield
338b0ce934
Merge pull request #914 from UdjinM6/dashBitcore1
...
Merge Bitpay's version of Bitcoin Core (additional indexes)
2016-08-08 12:53:34 -07:00
Andy Freer
d2c6b2a74e
Merge #926 : Change extended key version bytes to BIP32
...
77613d9
Revert changing BIP32 version bytes to maintain existing Dash versions
6ce0d3e
Change to BIP32 values
fe6174b
Comments and add regnet EXT_COIN_TYPE
c874a0f
Update testnet/regtest EXT_COIN_TYPE
2016-08-02 00:00:24 +02:00
Kaz Wesley
0baa033c28
test prevector::swap
...
- add a swap operation to prevector tests (fails due to broken prevector::swap)
- fix 2 prevector test operation conditions that were impossible
2016-07-30 05:18:30 +03:00
UdjinM6
1e1a02be36
fix tests
2016-07-19 11:15:54 +03:00
UdjinM6
48d0edcbdf
Merge remote-tracking branch 'bitpay/0.12.1-bitcore' into dashBitcore1
...
Resolved Conflicts:
.travis.yml (ignoring changes, leaving dash version)
src/Makefile.am
src/main.cpp
src/main.h
src/rpcclient.cpp
src/rpcserver.cpp
src/script/script.cpp
src/script/script.h
2016-07-19 08:49:28 +03:00
BtcDrak
ac5577b512
Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFY
2016-07-08 11:44:16 +01:00
Holger Schinzel
f4e4dd65e7
Tag 0.12.1 final
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEbBAABCgAGBQJXD/i3AAoJEHSBCwEjRsmmOHsH+L5eRpiPeLhrDYyBFbp9RFKU
TztyoeKAM4llEPmk6vAawgSL8HNY4va6lbY84sDfvCdLJqCxVR7MyiuQ4AQPXG4R
Ke5DJ/G/K4ngyqruCBsSh2RJdVDrbE3zCmjN5gxPxrNKpi+mXs//A6gjvfxn4U1F
WZepN3FzNFcqFG/ndKxptMYZoIuiK9JIhK7V/ksFKRPlUhipa1jh5sIWvCeFjiLT
Wt8wGlHPHDFsPJW1o7EWMTHRhNCVqYhMDU7GT6FixIJFRGANIGlwfIUuqqUt0sil
7YWIwD/+ai3dfeODazauqJAOEBXjoWCkuXn9IN/VhtvHOFR6AZO2aljS9ks6Cw==
=6vRi
-----END PGP SIGNATURE-----
Merge bitcoin tag 'v0.12.1' into dash v0.12.1.x
Merging Bitcoin 0.12.1 into Dash 0.12.1.x
2016-07-04 11:20:16 +02:00
Pavel Janík
2d2b04543d
Reenable multithread scheduler test
...
Github-Pull: #8016
Rebased-From: db18ab28c7
166e4b0dfa
2016-06-09 22:52:04 +02:00
Wladimir J. van der Laan
658307e835
test: Add more thorough test for dbwrapper iterators
...
Github-Pull: #7992
Rebased-From: 84c13e759d
6030625631
269a4402a8
2016-06-09 22:47:27 +02:00
Braydon Fuller
73b2d0851b
test: added unit tests for CScript.IsPayToPublicKeyHash
2016-06-02 12:15:13 -04:00
Wladimir J. van der Laan
e7ec24e336
Merge #8001 : [0.12.2] backport script_tests improvements
...
e3a9ce9
Refactor script tests (Pieter Wuille)
87129b2
test: script_error checking in script_invalid tests (Wladimir J. van der Laan)
2016-05-31 15:52:55 +02:00
UdjinM6
a4c098141a
fix tests to follow #767
2016-05-10 16:12:21 +03:00
Pieter Wuille
e3a9ce9c94
Refactor script tests
...
Github-Pull: #7818
Rebased-From: c7c664191f
269281b7cc
d03e46625a
76da761351
009b503792
dde46d3ae1
2016-05-04 13:01:59 +02:00
Wladimir J. van der Laan
87129b24e1
test: script_error checking in script_invalid tests
...
Github-Pull: #7517
Rebased-From: b0ff8572ae
2317ad7c56
0ecb3401fe
2016-05-04 13:01:55 +02:00
MarcoFalke
f1f1b82033
[qa] py2: Unfiddle strings into bytes explicitly
...
Github-Pull: #7853
Rebased-From: faa41ee204
, fa7abe0a00
Conflicts:
qa/rpc-tests/invalidtxrequest.py
qa/rpc-tests/p2p-feefilter.py
qa/rpc-tests/proxy_test.py
qa/rpc-tests/test_framework/mininode.py
qa/rpc-tests/test_framework/netutil.py
src/test/bctest.py
2016-04-15 09:55:12 +02:00
MarcoFalke
ad8c743421
[qa] Extend tests
...
Github-Pull: #7684
Rebased-From: fa3a81af18
fad7dc8a6c
fad8cfb893
2016-04-05 11:53:50 +02:00
Suhas Daftuar
0710b303d6
Test versionbits deployments
2016-03-18 09:14:53 +00:00
Suhas Daftuar
8ebc6f2aac
Add testing of ComputeBlockVersion
2016-03-18 09:14:53 +00:00
Pieter Wuille
5f90d4e294
Versionbits tests
2016-03-18 09:14:52 +00:00
Pieter Wuille
6f83cf2adb
BIP9 Implementation
...
Inspired by former implementations by Eric Lombrozo and Rusty Russell, and
based on code by Jorge Timon.
2016-03-18 09:14:52 +00:00
Alex Morcos
ade85e126d
Add LockPoints
...
Obtain LockPoints to store in CTxMemPoolEntry and during a reorg, evaluate whether they are still valid and if not, recalculate them.
2016-03-18 09:14:52 +00:00
Mark Friedenbach
c0c5e09fe2
BIP112: Implement CHECKSEQUENCEVERIFY
...
- Replace NOP3 with CHECKSEQUENCEVERIFY (BIP112)
<nSequence> CHECKSEQUENCEVERIFY -> <nSequence>
- Fails if txin.nSequence < nSequence, allowing funds of a txout to be locked for a number of blocks or a duration of time after its inclusion in a block.
- Pull most of CheckLockTime() out into VerifyLockTime(), a local function that will be reused for CheckSequence()
- Add bitwise AND operator to CScriptNum
- Enable CHECKSEQUENCEVERIFY as a standard script verify flag
- Transactions that fail CSV verification will be rejected from the mempool, making it easy to test the feature. However blocks containing "invalid" CSV-using transactions will still be accepted; this is *not* the soft-fork required to actually enable CSV for production use.
2016-03-18 09:14:52 +00:00
Alex Morcos
15ba08c3b5
Implement SequenceLocks functions
...
SequenceLocks functions are used to evaluate sequence lock times or heights per BIP 68.
The majority of this code is copied from maaku in #6312
Further credit: btcdrak, sipa, NicolasDorier
2016-03-18 09:14:52 +00:00
UdjinM6
6f5a9c10fc
fix src/test/data
2016-03-07 12:18:47 +01:00
evan82
3d4c56c19e
Merge pull request #714 from UdjinM6/btcdash_
...
more bitcoin -> dash
2016-03-04 07:14:06 -07:00
UdjinM6
e8df74a18e
fix miner_tests
...
(only in part related to this commit, for most miner_tests fixes see 124178b
)
2016-03-04 12:10:37 +03:00
UdjinM6
b3d1140800
more bitcoin->dash
2016-03-04 12:09:03 +03:00
UdjinM6
3ad675aadb
Fix tests
...
Closes #711
2016-03-04 06:52:57 +01:00
Holger Schinzel
296373b108
fix test suite
2016-02-23 11:10:41 +01:00
UdjinM6
a5ac60b868
Merge remote-tracking branch 'bitcoin/0.12' into HEAD
...
+ merge fixes
+ keepass on evhttp
2016-02-06 16:48:04 +03:00
Holger Schinzel
66ce5f1d60
fix test suite
2016-01-29 23:35:23 +01:00
Holger Schinzel
a0c77e007e
fixed Checkpoints_tests.cpp
2016-01-27 06:55:54 -05:00
Holger Schinzel
4833ac71cf
fix rpc_tests.cpp
2016-01-27 12:25:16 +01:00
Holger Schinzel
40175f440a
Merge pull request #683 from dashpay/fix_alerts_test
...
fix alerts test
2016-01-26 17:28:14 +01:00
Holger Schinzel
f07230c060
fix alerts test
2016-01-26 10:57:06 -05:00
Pieter Wuille
52b29dca76
Get rid of inaccurate ScriptSigArgsExpected
2016-01-21 13:52:32 +01:00
Alex Morcos
372dd395ce
add unit test for CNetAddr::GetGroup.
2016-01-16 17:04:05 +01:00
Casey Rodarmor
1425e2463c
Use unique name for AlertNotify tempfile
2016-01-16 17:04:03 +01:00
mb300sd
605de4a88a
Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY.
...
Github-Pull: #7213
Rebased-From: 37d271d7cc
2016-01-13 21:25:36 +00:00
MarcoFalke
333e1eaeea
Bump copyright headers to 2015
...
- Bump copyright headers to 2015
- [devtools] Rewrite fix-copyright-headers.py
- [devtools] Use git pretty-format for year parsing
Github-Pull: #7205
Rebased-From: fa6ad855e9
fa24439ff3
fa71669452
2016-01-05 14:13:33 +01:00
Pieter Wuille
10b88be798
Replace trickle nodes with per-node/message Poisson delays
...
We used to have a trickle node, a node which was chosen in each iteration of
the send loop that was privileged and allowed to send out queued up non-time
critical messages. Since the removal of the fixed sleeps in the network code,
this resulted in fast and attackable treatment of such broadcasts.
This pull request changes the 3 remaining trickle use cases by random delays:
* Local address broadcast (while also removing the the wiping of the seen filter)
* Address relay
* Inv relay (for transactions; blocks are always relayed immediately)
The code is based on older commits by Patrick Strateman.
Github-Pull: #7125
Rebased-From: 5400ef6bcb
2015-12-14 13:43:53 +01:00
Gregory Maxwell
f31955d9da
Replace setInventoryKnown with a rolling bloom filter.
...
Github-Pull: #7133
Rebased-From: ec73ef37ec
e20672479e
6b849350ab
b6a0da45db
d41e44c9ac
aa4b0c26b0
2015-12-04 15:01:09 +01:00
Wladimir J. van der Laan
1b0241fcec
Merge pull request #7144
...
8f0d79e
test: Disable scheduler test manythreads (Wladimir J. van der Laan)
2015-12-02 10:18:20 +01:00
Alex Morcos
553cad94e2
Rewrite CreateNewBlock
...
Use the score index on the mempool to only add sorted txs in order. Remove much of the validation while building the block, relying on mempool to be consistent and only contain txs that can be mined.
The mempool is assumed to be consistent as far as not containing txs which spend non-existent outputs or double spends, and scripts are valid. Finality of txs is still checked (except not coinbase maturity, assumed in mempool).
Still TestBlockValidity in case mempool consistency breaks and return error state if an invalid block was created.
Unit tests are modified to realize that invalid blocks can now be constructed if the mempool breaks its consistency assumptions and also updated to have the right fees, since the cached value is now used for block construction.
Conflicts:
src/miner.cpp
2015-12-01 12:09:37 -05:00