Pavel Janík
b7c349d5e7
Do not shadow variables in networking code
8 years ago
Jeremy Rubin
8194a6e525
Fix a type error that would not compile on Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
8 years ago
leijurv
1aacfc2da5
various typos
8 years ago
Sev
6ffd996b8e
Corrected JSON typo on setban of net.cpp
8 years ago
Cory Fields
9e9d644f51
net: fixup nits
8 years ago
Jonas Schnelli
b3b3c2a562
Reduce cs_main locks during ConnectTip/SyncWithWallets
8 years ago
Andrew Chow
15df3c196b
Persist the datadir after option reset
...
After a reset is performed, the datadir setting is saved and readded to the settings so that it is persisted across option resets.
8 years ago
whythat
c784086075
use std::map::emplace() instead of std::map::insert()
8 years ago
whythat
5e187e7001
use c++11 std::unique_ptr instead of boost::shared_ptr
8 years ago
whythat
947913fc54
use std::map::erase(const_iterator, const_iterator) to get non-constant iterator
8 years ago
Luke Dashjr
160f895a80
Bugfix: Use pre-BIP141 sigops until segwit activates
8 years ago
Patrick Strateman
9578333ec4
Remove rpc_wallet_tests.cpp
8 years ago
adlawren
05242e937d
Fix minimize and close bugs
...
refs #8225
To ensure the GUI closes when the "Minimize on close" window option is disabled, and the "Minimize to the tray instead of the taskbar" window option is enbaled, remove a check made against the "Minimize to the tray instead of the taskbar" value, made during GUI closure.
To ensure the GUI minimizes to the taskbar when the "Minimize on close" window option is enabled, and the "Minimize to the tray instead of the taskbar" window option is disabled, minimize the GUI and ignore the closure event.
8 years ago
Pavel Janík
33d15a3a76
Do not shadow LOCK's criticalblock variable for LOCK inside LOCK
8 years ago
Pavel Janík
4a35e0f34c
Do not shadow members in dbwrapper
8 years ago
Pavel Janík
a159f25e19
Remove redundand (and shadowing) declaration
8 years ago
Michael Rotarius
f13c1bae52
Move AdvertiseLocal debug output to net category
8 years ago
Jameson Lopp
65f4532f13
document return value of networkhashps for getmininginfo RPC endpoint
8 years ago
Cory Fields
8945384bca
net: Have LookupNumeric return a CService directly
...
Also fix up a few small issues:
- Lookup with "badip:port" now sets the port to 0
- Don't allow assert to have side-effects
8 years ago
Pavel Janík
cce3024c23
Do not shadow local variable, cleanup
8 years ago
Pavel Janík
0fc00bea5d
Do not shadow previous local variable
8 years ago
Pavel Janík
115265bb10
Trivial: bip -> BIP in help text and comment
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
Patrick Strateman
29c2d99bc9
Make CWallet::fFileBacked private.
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
Pieter Wuille
9c8593d2b4
Implement SipHash in Python
8 years ago
Suhas Daftuar
56c87e9211
Allow changing BIP9 parameters on regtest
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
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
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
Jonas Schnelli
893f379ba0
[Qt] Add dbcache migration path
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