Matt Corallo
37fff1268d
Add some blockencodings tests
2018-10-17 19:15:39 +03:00
lateminer
f7422db2f7
Update to Core 0.12.2
2018-10-14 19:07:51 +03:00
lateminer
9cc4974283
Make it compile
2018-10-14 16:44:21 +03:00
Pieter Wuille
cd30f2becb
Rename to PrecomputedTransactionData
2018-10-13 17:57:50 +03:00
Pieter Wuille
d8d19c532f
Precompute sighashes
2018-10-13 17:39:41 +03:00
Pieter Wuille
81e04cabfe
Refactor script validation to observe amounts
2018-10-13 17:05:24 +03:00
Alex Morcos
b821da64ef
Implement "feefilter" P2P message.
2018-10-13 15:44:02 +03:00
mruddy
42d12434d5
RPC: fix generatetoaddress failing to parse address and add unit test
2018-10-13 14:36:55 +03:00
lateminer
b35f06eda3
Update code with PACKAGE_NAME and COPYRIGHT_HOLDERS
2018-10-13 13:49:46 +03:00
Johnson Lau
c4e8c11932
Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH
2018-10-13 01:53:13 +03:00
lateminer
b1bb30cb3a
Remove address indexes
2018-10-11 22:02:52 +03:00
lateminer
3a29ae6903
Some code refactoring and cleanup
2018-10-02 01:04:31 +03:00
BtcDrak
556187e3f8
Remove bad chain alert partition check
...
As per meeting 2016-03-31
https://bitcoincore.org/en/meetings/2016/03/31/#bad-chain-alerts
The partition checker was producing huge number of false-positives
and was disabled in 0.12.1 on the understanding it would either be
fixed in 0.13 or removed entirely from master if not.
2018-09-30 18:14:12 +03:00
BtcDrak
7de932ba87
Remove p2p alert handling
2018-09-30 18:03:59 +03:00
lateminer
323a6750c2
Add CashAddr Address Format
...
Ported from Bitcoin Unlimited, Bitcoin ABC
2018-01-14 22:32:08 +03:00
Alex Morcos
092922c063
Disable fee estimates for a confirm target of 1 block
...
Backport of #9239 without GUI changes and fixing conflicts in tests.
2018-01-13 13:43:54 +03:00
Gavin Andresen
5cb6544093
Unit test for CScript::FindAndDelete
2018-01-13 02:52:08 +03:00
Pieter Wuille
3806509c82
Add SipHash-2-4 primitives to hash
2018-01-13 02:04:12 +03:00
Pieter Wuille
0108167866
Add tests for CCoins deserialization
2018-01-13 02:03:37 +03:00
Wladimir J. van der Laan
b2c1789e61
dbwrapper: Pass parent CDBWrapper into CDBBatch and CDBIterator
...
Pass parent wrapper directly instead of obfuscation key. This
makes it possible for other databases which re-use this code
to use other properties from the database.
Add a namespace dbwrapper_private for private functions to be used
only in dbwrapper.h/cpp and dbwrapper_tests.
2018-01-13 01:58:42 +03:00
Suhas Daftuar
b02423bdb5
Add ancestor feerate index to mempool
2018-01-13 01:57:17 +03:00
Suhas Daftuar
e001fd3ea4
Rename CTxMemPool::remove -> removeRecursive
2018-01-13 01:56:51 +03:00
Suhas Daftuar
1e0ba49e26
Add tags to mempool's mapTx indices
2018-01-13 01:31:09 +03:00
Wladimir J. van der Laan
b1d5409eb8
build: python 3 compatibility
2018-01-12 21:31:33 +03:00
Wladimir J. van der Laan
a0bf1386b7
wallet_ismine.h → script/ismine.h
2018-01-10 00:03:31 +03:00
Wladimir J. van der Laan
8a0a14b77b
test: Create test fixture for wallet
...
Removes all the `#ifdef ENABLE_WALLET` from `test_bitcoin` by
making the wallet tests use their own fixture.
2018-01-10 00:02:00 +03:00
Wladimir J. van der Laan
f508e91677
test: move accounting_tests and rpc_wallet_tests to wallet/test
2018-01-10 00:01:44 +03:00
Cory Fields
2579687f83
c++11: don't throw from the reverselock destructor
...
noexcept is default for destructors as of c++11. By throwing in reverselock's
destructor if it's lock has been tampered with, the likely result is
std::terminate being called. Indeed that happened before this change.
Once reverselock has taken another lock (its ctor didn't throw), it makes no
sense to try to grab or lock the parent lock. That is be broken/undefined
behavior depending on the parent lock's implementation, but it shouldn't cause
the reverselock to fail to re-lock when destroyed.
To avoid those problems, simply swap the parent lock's contents with a dummy
for the duration of the lock. That will ensure that any undefined behavior is
caught at the call-site rather than the reverse lock's destruction.
Barring a failed mutex unlock which would be indicative of a larger problem,
the destructor should now never throw.
2018-01-09 23:32:07 +03:00
Cory Fields
cb9ed6bc39
crypto: add aes cbc tests
2018-01-08 21:56:54 +03:00
Pieter Wuille
46910cb2d5
Add ctaes-based constant time AES implementation
2018-01-08 21:56:36 +03:00
instagibbs
c37ac7db87
Add importprunedfunds rpc call
2018-01-08 21:36:08 +03:00
lateminer
99238ff2c8
Merge remote-tracking branch 'janko33bd/Blackcoin-Lore' into rpc-updates-0.13
2018-01-06 16:41:28 +03:00
Jonas Schnelli
893db80a40
[Bitcoin-Tx] Add tests for sequence number support
2018-01-06 14:38:26 +03:00
Wladimir J. van der Laan
b460adbab0
rpc: Register calls where they are defined
2018-01-06 13:58:48 +03:00
janko33bd
71c4f88bf9
fixing to compile
2018-01-06 00:37:31 +01:00
Daniel Cousens
780775d5bd
move rpc* to rpc/
2018-01-06 01:57:48 +03:00
Jonas Schnelli
6bab17dc2d
[RPC, Wallet] Move RPC dispatch table registration to wallet/ code
2018-01-06 01:27:37 +03:00
Wladimir J. van der Laan
350739ab6c
txdb: Add Cursor() method to CCoinsView to iterate over UTXO set
...
Add a method Cursor() to CCoinsView that returns a cursor which can be
used to iterate over the whole UTXO set.
- rpc: Change gettxoutsetinfo to use new Cursor method
- txdb: Remove GetStats method - Now that GetStats is implemented in
terms of Cursor, remove it.
2018-01-06 00:50:16 +03:00
lateminer
5d55c17441
Code refactoring from Bitcoin Core 0.13.0
...
72c2651581
fc7c60d699
fa19b18c63
3e2c946cfd
0fd599767d
220f950ab1
fade505e8b
fa9976b853
fa10ce6a6d
...and some more
2018-01-02 17:21:43 +03:00
lateminer
ee8c6daaaf
Merge remote-tracking branch 'janko33bd/Blackcoin-Lore' into patch-3
2018-01-02 17:12:24 +03:00
lateminer
09176edb18
add bip32 pub key serialization
...
90604f16af
2018-01-02 13:01:45 +03:00
lateminer
f536a8126e
Replace COINBASE_MATURITY...
...
...with nCoinbaseMaturity
2017-12-17 15:21:59 +03:00
Wladimir J. van der Laan
effed14ca3
Porting memory fixes
2017-10-15 21:54:49 +01:00
janko33bd
2fdd12b2ea
Blackcoin Lore
2017-05-30 21:33:31 +02:00
Chris Kleeschulte
796a2742c1
Merge pull request #27 from braydonf/0.12.1-bitcore-dboptions
...
Add options to configure block index database
2016-07-22 09:49:18 -04:00
Chethan Krishna
365802634b
Remove cpp test for wallet-utility
2016-07-19 18:03:10 -04:00
Braydon Fuller
efb0d557a5
test: wallet utility python test
2016-07-18 18:03:01 -04:00
Chethan Krishna
31f56e2f5d
wallet-utility: extract addresses and private keys
...
usage: ./wallet-utility -datadir=<directory>
help: ./wallet-utility -h
2016-07-18 16:00:20 -04:00
Braydon Fuller
69ea12c689
tests: test dbwrapper options compression and maxopenfiles
2016-07-14 16:30:31 -04:00
Braydon Fuller
73b2d0851b
test: added unit tests for CScript.IsPayToPublicKeyHash
2016-06-02 12:15:13 -04:00