Cory Fields
bd72937dc4
net: move nLocalServices/nRelevantServices to CConnman
...
These are in-turn passed to CNode at connection time. This allows us to offer
different services to different peers (or test the effects of doing so).
8 years ago
Cory Fields
be9c796dc5
net: move SendBufferSize/ReceiveFloodSize to CConnman
8 years ago
Cory Fields
63cafa6329
net: move send/recv statistics to CConnman
8 years ago
Cory Fields
adf5d4c2e4
net: SocketSendData returns written size
8 years ago
Cory Fields
ee44fa9576
net: move messageHandlerCondition to CConnman
8 years ago
Cory Fields
960cf2e405
net: move nLocalHostNonce to CConnman
...
This behavior seems to have been quite racy and broken.
Move nLocalHostNonce into CNode, and check received nonces against all
non-fully-connected nodes. If there's a match, assume we've connected
to ourself.
8 years ago
Cory Fields
551e0887db
net: move nLastNodeId to CConnman
8 years ago
Cory Fields
6c19d92361
net: move whitelist functions into CConnman
8 years ago
Cory Fields
53347f0cb9
net: create generic functor accessors and move vNodes to CConnman
8 years ago
Cory Fields
c0569c7fa1
net: Add most functions needed for vNodes to CConnman
8 years ago
Cory Fields
8ae2dac1c6
net: move added node functions to CConnman
8 years ago
Cory Fields
502dd3a8a0
net: Add oneshot functions to CConnman
8 years ago
Cory Fields
a0f3d3cdad
net: move ban and addrman functions into CConnman
8 years ago
Cory Fields
aaf018e3b7
net: handle nodesignals in CConnman
8 years ago
Cory Fields
b1a5f43208
net: move OpenNetworkConnection into CConnman
8 years ago
Cory Fields
02137f11e2
net: Move socket binding into CConnman
8 years ago
Cory Fields
5b446dd5b1
net: Pass CConnection to wallet rather than using the global
8 years ago
Cory Fields
8d58c4d81f
net: Pass CConnman around as needed
8 years ago
Cory Fields
d7349ca50d
net: Add rpc error for missing/disabled p2p functionality
8 years ago
Cory Fields
cd16f48028
net: Create CConnman to encapsulate p2p connections
8 years ago
Cory Fields
d93b14dc5d
net: move CBanDB and CAddrDB out of net.h/cpp
...
This will eventually solve a circular dependency
8 years ago
Cory Fields
531214fb10
gui: add NodeID to the peer table
8 years ago
Gaurav Rana
df2d2e70ca
update name of file bitcoin.qrc
8 years ago
MarcoFalke
ddc308068d
Merge #8671 : Minimal fix to slow prevector tests as stopgap measure
...
f71d4a3
Minimal fix to slow prevector tests as stopgap measure (Jeremy Rubin)
8 years ago
Jeremy Rubin
ec81881b86
Performance Regression Fix: Pre-Allocate txChanged vector
8 years ago
MarcoFalke
ec139a5621
Merge #8673 : Trivial: Fix obvious assignment/equality error in test
...
426e7bc
Fix obvious assignment/equality error in test (Jeremy Rubin)
8 years ago
Cory Fields
d6a5dc4a2e
add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for tests
...
waitfornewblock waits until a new block is received, or the timeout expires, then
returns the current block height/hash.
waitforblock waits for a specific blockhash, or until the timeout expires, then
returns the current block height/hash. If the target blockhash is the current
tip, it will return immediately.
waitforblockheight waits until the tip has reached a certain height or higher,
then returns the current height and hash.
waitforblockheight is used to avoid polling in the rpc tests.
8 years ago
Jonas Schnelli
04802930d4
[Qt][CoinControl] fix UI bug that could result in paying unexpected fee
8 years ago
Pavel Janík
125b946cb4
Do not shadow upper local variable 'send', prevent -Wshadow compiler warning.
8 years ago
Pieter Wuille
5b2ea29cf4
Merge #8594 : Do not add random inbound peers to addrman.
...
eb3596f
Do not add random inbound peers to addrman. (Gregory Maxwell)
8 years ago
Pieter Wuille
e2a1a1ee89
Merge #8606 : Fix some locks
...
144ed76
Fix some locks (Pieter Wuille)
8 years ago
Hampus Sjöberg
c015634400
qt: Adding transaction size to transaction details window
8 years ago
Hampus Sjöberg
fdf82fba31
Adding method GetTotalSize() to CTransaction
...
GetTotalSize() returns the total transaction size (including witness) in
bytes.
8 years ago
Jeremy Rubin
426e7bce0e
Fix obvious assignment/equality error in test
8 years ago
Jeremy Rubin
f71d4a3786
Minimal fix to slow prevector tests as stopgap measure
8 years ago
Wladimir J. van der Laan
8ea44405e7
Merge #8645 : Remove unused Qt 4.6 patch.
...
38acbf8
Remove unused Qt 4.6 patch. (Doug)
8 years ago
Wladimir J. van der Laan
d077f43f7e
Merge #8663 : trivial: remove unnecessary variable fDaemon
...
ff2ed7a
trivial: remove unnecessary variable fDaemon (mruddy)
8 years ago
Johnson Lau
2f2548d5e0
Fix SIGHASH_SINGLE bug in test_framework SignatureHash
...
The value for "other" inputs should be -1 (0xffffffffffffffff) instead of 0
8 years ago
instagibbs
ca10a03add
Add basic test for IsStandard witness transaction blinding
8 years ago
Pieter Wuille
34521e4d7d
Do not store witness txn in rejection cache
8 years ago
Pieter Wuille
e82fb872ff
Merge #8651 : Predeclare PrecomputedTransactionData as struct
...
4424af5
Predeclare PrecomputedTransactionData as sturct (Pieter Wuille)
8 years ago
Suhas Daftuar
c40b034327
Clear witness with vin/vout in CWallet::CreateTransaction()
8 years ago
whythat
c62cc4ec75
fix path for bak file
8 years ago
whythat
438e94dc33
remove root test directory for RPC tests
8 years ago
mruddy
ff2ed7a5bc
trivial: remove unnecessary variable fDaemon
8 years ago
Gregory Maxwell
6d0ced1865
Do not set an addr time penalty when a peer advertises itself.
...
Claims a peer makes about itself are inherently more credible.
8 years ago
BtcDrak
46606af200
Update btcdrak signing key
8 years ago
Pavel Janík
7c069a7093
Do not shadow global variable
8 years ago
Wladimir J. van der Laan
cbe9ae8c69
Merge #8466 : [Trivial] Do not shadow variables in networking code
...
b7c349d
Do not shadow variables in networking code (Pavel Janík)
8 years ago
Wladimir J. van der Laan
381d0ddc8a
Merge #8449 : [Trivial] Do not shadow local variable, cleanup
...
a159f25
Remove redundand (and shadowing) declaration (Pavel Janík)
cce3024
Do not shadow local variable, cleanup (Pavel Janík)
8 years ago