Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-08 | net: add nSendBufferMaxSize/nReceiveFloodSize to CConnection::Options | Cory Fields | |
2016-09-08 | net: Introduce CConnection::Options to avoid passing so many params | Cory Fields | |
2016-09-08 | net: Drop StartNode/StopNode and use CConnman directly | Cory Fields | |
2016-09-08 | net: pass CClientUIInterface into CConnman | Cory Fields | |
2016-09-08 | net: Pass best block known height into CConnman | Cory Fields | |
CConnman then passes the current best height into CNode at creation time. This way CConnman/CNode have no dependency on main for height, and the signals only move in one direction. This also helps to prevent identity leakage a tiny bit. Before this change, an attacker could theoretically make 2 connections on different interfaces. They would connect fully on one, and only establish the initial connection on the other. Once they receive a new block, they would relay it to your first connection, and immediately commence the version handshake on the second. Since the new block height is reflected immediately, they could attempt to learn whether the two connections were correlated. This is, of course, incredibly unlikely to work due to the small timings involved and receipt from other senders. But it doesn't hurt to lock-in nBestHeight at the time of connection, rather than letting the remote choose the time. | |||
2016-09-08 | net: move max/max-outbound to CConnman | Cory Fields | |
2016-09-08 | net: move semOutbound to CConnman | Cory Fields | |
2016-09-08 | net: move nLocalServices/nRelevantServices to CConnman | Cory Fields | |
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). | |||
2016-09-08 | net: move SendBufferSize/ReceiveFloodSize to CConnman | Cory Fields | |
2016-09-08 | net: move send/recv statistics to CConnman | Cory Fields | |
2016-09-08 | net: SocketSendData returns written size | Cory Fields | |
2016-09-08 | net: move messageHandlerCondition to CConnman | Cory Fields | |
2016-09-08 | net: move nLocalHostNonce to CConnman | Cory Fields | |
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. | |||
2016-09-08 | net: move nLastNodeId to CConnman | Cory Fields | |
2016-09-08 | net: move whitelist functions into CConnman | Cory Fields | |
2016-09-08 | net: create generic functor accessors and move vNodes to CConnman | Cory Fields | |
2016-09-08 | net: Add most functions needed for vNodes to CConnman | Cory Fields | |
2016-09-08 | net: move added node functions to CConnman | Cory Fields | |
2016-09-08 | net: Add oneshot functions to CConnman | Cory Fields | |
2016-09-08 | net: move ban and addrman functions into CConnman | Cory Fields | |
2016-09-08 | net: handle nodesignals in CConnman | Cory Fields | |
2016-09-08 | net: move OpenNetworkConnection into CConnman | Cory Fields | |
2016-09-08 | net: Move socket binding into CConnman | Cory Fields | |
2016-09-08 | net: Pass CConnection to wallet rather than using the global | Cory Fields | |
2016-09-08 | net: Pass CConnman around as needed | Cory Fields | |
2016-09-08 | net: Add rpc error for missing/disabled p2p functionality | Cory Fields | |
2016-09-08 | net: Create CConnman to encapsulate p2p connections | Cory Fields | |
2016-09-08 | net: move CBanDB and CAddrDB out of net.h/cpp | Cory Fields | |
This will eventually solve a circular dependency | |||
2016-09-08 | gui: add NodeID to the peer table | Cory Fields | |
2016-09-08 | Merge #8671: Minimal fix to slow prevector tests as stopgap measure | MarcoFalke | |
f71d4a3 Minimal fix to slow prevector tests as stopgap measure (Jeremy Rubin) | |||
2016-09-07 | Performance Regression Fix: Pre-Allocate txChanged vector | Jeremy Rubin | |
2016-09-07 | Merge #8673: Trivial: Fix obvious assignment/equality error in test | MarcoFalke | |
426e7bc Fix obvious assignment/equality error in test (Jeremy Rubin) | |||
2016-09-07 | add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for tests | Cory Fields | |
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. | |||
2016-09-07 | [Qt][CoinControl] fix UI bug that could result in paying unexpected fee | Jonas Schnelli | |
2016-09-07 | Do not shadow upper local variable 'send', prevent -Wshadow compiler warning. | Pavel Janík | |
2016-09-07 | Merge #8594: Do not add random inbound peers to addrman. | Pieter Wuille | |
eb3596f Do not add random inbound peers to addrman. (Gregory Maxwell) | |||
2016-09-07 | Merge #8606: Fix some locks | Pieter Wuille | |
144ed76 Fix some locks (Pieter Wuille) | |||
2016-09-06 | qt: Adding transaction size to transaction details window | Hampus Sjöberg | |
2016-09-06 | Adding method GetTotalSize() to CTransaction | Hampus Sjöberg | |
GetTotalSize() returns the total transaction size (including witness) in bytes. | |||
2016-09-06 | Fix obvious assignment/equality error in test | Jeremy Rubin | |
2016-09-06 | Minimal fix to slow prevector tests as stopgap measure | Jeremy Rubin | |
2016-09-06 | Merge #8663: trivial: remove unnecessary variable fDaemon | Wladimir J. van der Laan | |
ff2ed7a trivial: remove unnecessary variable fDaemon (mruddy) | |||
2016-09-05 | Do not store witness txn in rejection cache | Pieter Wuille | |
2016-09-05 | Merge #8651: Predeclare PrecomputedTransactionData as struct | Pieter Wuille | |
4424af5 Predeclare PrecomputedTransactionData as sturct (Pieter Wuille) | |||
2016-09-04 | Clear witness with vin/vout in CWallet::CreateTransaction() | Suhas Daftuar | |
2016-09-04 | trivial: remove unnecessary variable fDaemon | mruddy | |
2016-09-02 | Do not shadow global variable | Pavel Janík | |
2016-09-02 | Merge #8466: [Trivial] Do not shadow variables in networking code | Wladimir J. van der Laan | |
b7c349d Do not shadow variables in networking code (Pavel Janík) | |||
2016-09-02 | Merge #8449: [Trivial] Do not shadow local variable, cleanup | Wladimir J. van der Laan | |
a159f25 Remove redundand (and shadowing) declaration (Pavel Janík) cce3024 Do not shadow local variable, cleanup (Pavel Janík) | |||
2016-09-02 | Predeclare PrecomputedTransactionData as sturct | Pieter Wuille | |