Pieter Wuille
f798b891bc
Merge #8346 : Mempool: Use Consensus::CheckTxInputs direclty over main::CheckInputs
...
a6cc299
Mempool: Use Consensus::CheckTxInputs direclty over main::CheckInputs (Jorge Timón)
8 years ago
Pavel Janík
ff8d279a78
Do not shadow member variables
8 years ago
Cory Fields
21ba407a73
net: narrow include scope after moving to netaddress
...
Net functionality is no longer needed for CAddress/CAddrman/etc. now that
CNetAddr/CService/CSubNet are dumb storage classes.
8 years ago
Cory Fields
21e5b96ff4
net: move CNetAddr/CService/CSubNet out of netbase
8 years ago
Cory Fields
1017b8a960
net: Add direct tests for new CSubNet constructors
8 years ago
Cory Fields
b6c3ff3dae
net: Split resolving out of CSubNet
8 years ago
Chris Stewart
b8db185952
Update README.md
...
Updating documentation for adding new unit test files
Removing unneeded sentence from README
Removing uint160_tests.cpp as it DNE
Formatting command line instructions to use ``
fixing 80 char formatting issue in README
fixing more nits
8 years ago
Cory Fields
f96c7c4d91
net: Split resolving out of CService
8 years ago
Cory Fields
31d6b1d5f0
net: Split resolving out of CNetAddr
8 years ago
MarcoFalke
cf2cecb187
Merge #8400 : [qa]: enable rpcbind_test
...
9bbb414
[qa]: enable rpcbind_test (whythat)
0ff4375
[qa]: add parsing for '<host>:<port>' argument form to rpc_url() (whythat)
8 years ago
Patrick Strateman
29c2d99bc9
Make CWallet::fFileBacked private.
8 years ago
Wladimir J. van der Laan
6caf3ee061
Merge #8238 : [WIP][depends] ZeroMQ 4.1.5 && ZMQ on Windows
...
a615386
[depends] ZeroMQ 4.1.5 (fanquake)
8 years ago
Pieter Wuille
ebefe7a00b
Merge #8427 : net: Ignore `notfound` P2P messages
...
5c9e49d
net: Ignore `notfound` P2P messages (Wladimir J. van der Laan)
8 years ago
Pieter Wuille
9d4eb9ad99
Do diskspace check before import thread is started
8 years ago
Pieter Wuille
aa59f2ed3f
Add extra message to avoid a long 'Loading banlist'
8 years ago
Pieter Wuille
0fd2a33648
Use a signal to continue init after genesis activation
8 years ago
Patrick Strateman
5723bb44ce
Remove unused pwalletdb from CWallet::AddToWallet
8 years ago
Patrick Strateman
867f842f1e
Remove CWalletDB* parameter from CWallet::AddToWallet
8 years ago
Patrick Strateman
00f09c920c
Split CWallet::AddToWallet into AddToWallet and LoadToWallet.
...
This removes the fFromLoadWallet flag in AddToWallet. These were already
effectively two methods.
8 years ago
Wladimir J. van der Laan
5c9e49d12c
net: Ignore `notfound` P2P messages
8 years ago
Wladimir J. van der Laan
bbcb8fd884
Merge #8417 : [QA] Add walletdump RPC test (including HD- & encryption-tests)
...
54af51d
[QA] Add walletdump RPC test (including HD- & encryption-tests) (Jonas Schnelli)
8 years ago
Suhas Daftuar
45c7ddd109
Add p2p test for BIP 152 (compact blocks)
8 years ago
Suhas Daftuar
9a22a6c089
Add support for compactblocks to mininode
8 years ago
Suhas Daftuar
a8689fdf8e
Tests: refactor compact size serialization in mininode
8 years ago
Pieter Wuille
9c8593d2b4
Implement SipHash in Python
8 years ago
Suhas Daftuar
56c87e9211
Allow changing BIP9 parameters on regtest
8 years ago
Wladimir J. van der Laan
7a2d402727
Merge #8274 : util: Update tinyformat
...
a5072a7
util: Remove zero-argument versions of LogPrint and error (Wladimir J. van der Laan)
695041e
util: Update tinyformat (Wladimir J. van der Laan)
8 years ago
Wladimir J. van der Laan
b77bb95b3c
Merge #8421 : httpserver: drop boost ( #8023 dependency)
...
7e87033
httpserver: replace boost threads with std (Cory Fields)
d3773ca
httpserver: explicitly detach worker threads (Cory Fields)
755aa05
httpserver: use a future rather than relying on boost's try_join_for (Cory Fields)
8 years ago
Wladimir J. van der Laan
842bf8d2c5
Merge #8408 : Prevent fingerprinting, disk-DoS with compact blocks
...
1d06e49
Ignore CMPCTBLOCK messages for pruned blocks (Suhas Daftuar)
1de2a46
Ignore GETBLOCKTXN requests for unknown blocks (Suhas Daftuar)
8 years ago
Cory Fields
7e87033447
httpserver: replace boost threads with std
...
along with mutex/condvar/bind/etc.
httpserver handles its own interruption, so there's no reason not to use std
threading.
While we're at it, may as well kill the BOOST_FOREACH's as well.
8 years ago
Cory Fields
d3773ca9ae
httpserver: explicitly detach worker threads
...
When using std::thread in place of boost::thread, letting the threads destruct
results in a std::terminate. According to the docs, the same thing should be
be happening in later boost versions:
http://www.boost.org/doc/libs/1_55_0/doc/html/thread/thread_management.html#thread.thread_management.thread.destructor
I'm unsure why this hasn't blown up already, but explicitly detaching can't
hurt.
8 years ago
Cory Fields
755aa05174
httpserver: use a future rather than relying on boost's try_join_for
8 years ago
Pieter Wuille
ad087638ee
Merge #8412 : libconsensus: Expose a flag for BIP112
...
d12b732
libconsensus: Expose a flag for BIP112 (Jorge Timón)
8 years ago
Jorge Timón
a6cc299541
Mempool: Use Consensus::CheckTxInputs direclty over main::CheckInputs
8 years ago
Suhas Daftuar
8bfd70817b
Enable size accounting in mining unit tests
8 years ago
Jonas Schnelli
54af51d98d
[QA] Add walletdump RPC test (including HD- & encryption-tests)
8 years ago
Wladimir J. van der Laan
133c727cc4
Merge #8321 : [trivial] Switched constants to sizeof()
...
fbc6070
[trivial] Switched constants to sizeof() (Thomas Snider)
8 years ago
Jonas Schnelli
2266b43e33
Port from 0.13: Create a new HD seed after encrypting the wallet
...
Forward-ports two commits from 0.13:
- [0.13] Create a new HD seed after encrypting the wallet
- [Wallet] Add CKeyMetadata record for HDMasterKey(s), factor out HD key generation
Github-Pull: #8389
Rebased-From: f142c11ac6
de45c065f0
8 years ago
Wladimir J. van der Laan
806b9e7570
Merge #8332 : semi trivial: clarify witness branches in transaction.h serialization
...
e37b16a
transaction: clarify witness branches (Daniel Cousens)
8 years ago
Wladimir J. van der Laan
30a87c0747
Merge #8407 : [Qt] Add dbcache migration path
...
893f379
[Qt] Add dbcache migration path (Jonas Schnelli)
8 years ago
Jonas Schnelli
893f379ba0
[Qt] Add dbcache migration path
8 years ago
Wladimir J. van der Laan
64d660a43f
Merge #8348 : Trivial: Segwit: Don't call IsWitnessEnabled from ContextualCheckBlock
...
38c4c8b
Trivial: Segwit: Don't call IsWitnessEnabled from ContextualCheckBlock (Jorge Timón)
8 years ago
Wladimir J. van der Laan
c24b50ec16
Merge #8414 : prepend license statement to indirectmap.h
...
d3af342
prepend license statement to indirectmap (Kaz Wesley)
8 years ago
Kaz Wesley
d3af342276
prepend license statement to indirectmap
...
Add statement about MIT licensing to indirectmap.h. I forgot the license
preamble when I originally wrote the file.
8 years ago
Jorge Timón
d12b732ac2
libconsensus: Expose a flag for BIP112
...
We added the segwit one, but we forgot CHECKSEQUENCEVERIFY
8 years ago
Jorge Timón
c8664eeac7
Trivial: pass Consensus::Params& instead of CChainParams& in ContextualCheckBlock
8 years ago
Wladimir J. van der Laan
4d4970fe53
Merge #8206 : [Wallet] Add HD xpriv to dumpwallet
...
77c912d
[Wallet] add HD xpriv to dumpwallet (Jonas Schnelli)
8 years ago
Jonas Schnelli
77c912d21c
[Wallet] add HD xpriv to dumpwallet
8 years ago
Suhas Daftuar
1d06e49834
Ignore CMPCTBLOCK messages for pruned blocks
...
Also ignores CMPCTBLOCK announcements that have too little work. This is to
prevent disk-exhaustion DoS.
8 years ago
Suhas Daftuar
1de2a46632
Ignore GETBLOCKTXN requests for unknown blocks
...
Don't disconnect peers, or else we leak information that could be
used for fingerprinting.
8 years ago