Pavel Janík
4a35e0f34c
Do not shadow members in dbwrapper
8 years ago
Pavel Janík
0fc00bea5d
Do not shadow previous local variable
9 years ago
Pavel Janík
115265bb10
Trivial: bip -> BIP in help text and comment
9 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
9 years ago
Patrick Strateman
29c2d99bc9
Make CWallet::fFileBacked private.
9 years ago
Pieter Wuille
9d4eb9ad99
Do diskspace check before import thread is started
9 years ago
Pieter Wuille
aa59f2ed3f
Add extra message to avoid a long 'Loading banlist'
9 years ago
Pieter Wuille
0fd2a33648
Use a signal to continue init after genesis activation
9 years ago
Patrick Strateman
5723bb44ce
Remove unused pwalletdb from CWallet::AddToWallet
9 years ago
Patrick Strateman
867f842f1e
Remove CWalletDB* parameter from CWallet::AddToWallet
9 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.
9 years ago
Wladimir J. van der Laan
5c9e49d12c
net: Ignore `notfound` P2P messages
9 years ago
Pieter Wuille
9c8593d2b4
Implement SipHash in Python
9 years ago
Suhas Daftuar
56c87e9211
Allow changing BIP9 parameters on regtest
9 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.
9 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.
9 years ago
Cory Fields
755aa05174
httpserver: use a future rather than relying on boost's try_join_for
9 years ago
Jorge Timón
a6cc299541
Mempool: Use Consensus::CheckTxInputs direclty over main::CheckInputs
9 years ago
Suhas Daftuar
8bfd70817b
Enable size accounting in mining unit tests
9 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
9 years ago
Jonas Schnelli
893f379ba0
[Qt] Add dbcache migration path
9 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.
9 years ago
Jorge Timón
d12b732ac2
libconsensus: Expose a flag for BIP112
...
We added the segwit one, but we forgot CHECKSEQUENCEVERIFY
9 years ago
Jorge Timón
c8664eeac7
Trivial: pass Consensus::Params& instead of CChainParams& in ContextualCheckBlock
9 years ago
Jonas Schnelli
77c912d21c
[Wallet] add HD xpriv to dumpwallet
9 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.
9 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.
9 years ago
lizhi
cc021ef486
remove outdated legacy code
...
CheckSignatureElement is not used,it be replaced by eccrypto::CheckSignatureElement.
9 years ago
NicolasDorier
122786d0e0
Consensus: Remove ISM
9 years ago
Suhas Daftuar
c59c434b7d
qa: Add test for standardness of segwit v0 outputs
9 years ago
Johnson Lau
1ffaff2f74
Make witness v0 outputs non-standard before segwit activation
9 years ago
Jonas Schnelli
b50e1ac298
[Wallet] Correct hdmasterkeyid/masterkeyid name confusion
9 years ago
NicolasDorier
7821889bce
Consensus: Remove calls to error() from ContextualCheckBlock
9 years ago
Patrick Strateman
6523fcaab2
Move SetMinVersion for FEATURE_HD to SetHDMasterKey
9 years ago
Pieter Wuille
ab942c15bd
Treat high-sigop transactions as larger rather than rejecting them
9 years ago
Thomas Snider
fbc60703a5
[trivial] Switched constants to sizeof()
9 years ago
Jonas Schnelli
a4f137f367
[Wallet] Ensure <0.13 clients can't open HD wallets
9 years ago
Suhas Daftuar
2c06bae39e
Rename "block cost" to "block weight"
9 years ago
Suhas Daftuar
682aa0f289
Scale legacy sigop count in CreateNewBlock
9 years ago
Wladimir J. van der Laan
6c0336c772
build: bump version to 0.13.99
...
Now that 0.13 branch has been split off, master is 0.13.99 (pre-0.14).
9 years ago
Wladimir J. van der Laan
e4382fbef5
qt: periodic translations update
9 years ago
Wladimir J. van der Laan
8cef5bd58a
mining: Improve `-blockmaxcost` help message
...
One-word replacement to #8354 .
9 years ago
Jorge Timón
38c4c8b701
Trivial: Segwit: Don't call IsWitnessEnabled from ContextualCheckBlock
9 years ago
Jorge Timón
6f3d616dc8
Trivial: Make CBlockIndex param const in ContextualCheckBlockHeader and ContextualCheckBlock
9 years ago
NicolasDorier
a3e1984651
Consensus: Trivial transform BOOST_FOREACH into for loop
9 years ago
Jonas Schnelli
7945088d41
[Wallet] comsetic non-code changes for the HD feature
9 years ago
Jonas Schnelli
68d7682b9f
[Wallet] ensure CKeyMetadata.hdMasterKeyID will be cleared during SetNull()
9 years ago
Daniel Cousens
e37b16a75c
transaction: clarify witness branches
9 years ago
Suhas Daftuar
96fa95361f
Improve handling of unconnecting headers
...
When processing a headers message that looks like a block announcement,
send peer a getheaders if the headers message won't connect.
Apply DoS points after too many consecutive unconnecting headers messages.
9 years ago
Wladimir J. van der Laan
4831a16223
qt: periodic translation update
...
Added languages:
- `bg_BG`: Bulgarian (Bulgaria)
9 years ago