aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | Rework addnode behaviourPieter Wuille2016-06-133-121/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use CNode::addeName to track whether a connection to a name is already open * A new connection to a previously-connected by-name addednode is only opened when the previous one closes (even if the name starts resolving to something else) * At most one connection is opened per addednode (even if the name resolves to multiple) * Unify the code between ThreadOpenAddedNodeConnections and getaddednodeinfo * Information about open connections is always returned, and the dns argument becomes a dummy * An IP address and inbound/outbound is only reported for the (at most 1) open connection
* | | | | | | | | | | | Merge #8171: [RPC] Fix createrawtx sequence number unsigned int parsingWladimir J. van der Laan2016-06-161-2/+7
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6fa950a [RPC] Fix createrawtx sequence number unsigned int parsing (Jonas Schnelli)
| * | | | | | | | | | | | [RPC] Fix createrawtx sequence number unsigned int parsingJonas Schnelli2016-06-081-2/+7
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge #8084: Add recently accepted blocks and txn to AttemptToEvictConnection.Wladimir J. van der Laan2016-06-164-17/+61
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ee7f05 Allow disconnecting a netgroup with only one member in eviction. (Gregory Maxwell) 5d0ca81 Add recently accepted blocks and txn to AttemptToEvictConnection. (Gregory Maxwell)
| * | | | | | | | | | | | | Allow disconnecting a netgroup with only one member in eviction.Gregory Maxwell2016-06-151-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the latest additions there are enough protective measures that we can take the training wheels off.
| * | | | | | | | | | | | | Add recently accepted blocks and txn to AttemptToEvictConnection.Gregory Maxwell2016-06-154-10/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This protects any not-already-protected peers who were the most recent four to relay transactions and most recent four to send blocks to us.
* | | | | | | | | | | | | | Merge #8208: Do not set extra flags for unfiltered DNS seed resultsWladimir J. van der Laan2016-06-163-12/+14
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bc0a895 Do not set extra flags for unfiltered DNS seed results (Pieter Wuille)
| * | | | | | | | | | | | | | Do not set extra flags for unfiltered DNS seed resultsPieter Wuille2016-06-153-12/+14
| | |_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | Merge #8207: [trivial] Add a link to the Bitcoin-Core repository and website ↵Wladimir J. van der Laan2016-06-161-1/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the About Dialog fa58e5e [doc] Add website links to about dialog (MarcoFalke)
| * | | | | | | | | | | | | [doc] Add website links to about dialogMarcoFalke2016-06-161-1/+10
| | |_|/ / / / / / / / / / | |/| | | | | | | | | | |
* | | | | | | | | | | | | Merge #7636: Add bitcoin address label to request payment QR codeJonas Schnelli2016-06-144-7/+20
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | 1c2a1ba Add address label to request payment QR Code (QT) (Francesco 'makevoid' Canessa)
| * | | | | | | | | | | | Add address label to request payment QR Code (QT)Francesco 'makevoid' Canessa2016-06-134-7/+20
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the Receive 'Tab' of the QT wallet, when 'Show'ing a previously requested payment, add a label underneath the QR Code showing the bitcoin address where the funds will go to. This way the user can be sure that the QR code scanner app the user using is reading the correct bitcoin address, preventing funds to be stolen. Includes fix for HiDPI screens by @jonasschnelli.
* | | | | | | | | | | | Merge #8035: [Wallet] Add simplest BIP32/deterministic key generation ↵Wladimir J. van der Laan2016-06-144-4/+154
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation afcd77e Detect -usehd mismatches when wallet.dat already exists (Jonas Schnelli) 17c0131 [Docs] Add release notes and bip update for Bip32/HD wallets (Jonas Schnelli) c022e5b [Wallet] use constant for bip32 hardened key limit (Jonas Schnelli) f190251 [Wallet] Add simplest BIP32/deterministic key generation implementation (Jonas Schnelli)
| * | | | | | | | | | | Detect -usehd mismatches when wallet.dat already existsJonas Schnelli2016-06-141-0/+7
| | | | | | | | | | | |
| * | | | | | | | | | | [Wallet] use constant for bip32 hardened key limitJonas Schnelli2016-06-011-4/+8
| | | | | | | | | | | |
| * | | | | | | | | | | [Wallet] Add simplest BIP32/deterministic key generation implementationJonas Schnelli2016-05-314-4/+143
| | | | | | | | | | | |
* | | | | | | | | | | | Introduce REQUIRED_SERVICES constantPieter Wuille2016-06-133-2/+4
| | | | | | | | | | | |
* | | | | | | | | | | | Introduce enum ServiceFlags for service flagsPieter Wuille2016-06-1311-83/+89
| | | | | | | | | | | |
* | | | | | | | | | | | Don't require services in -addnodePieter Wuille2016-06-136-63/+64
| | | | | | | | | | | |
* | | | | | | | | | | | Only store and connect to NODE_NETWORK nodesPieter Wuille2016-06-132-0/+7
| | | | | | | | | | | |
* | | | | | | | | | | | Verify that outbound connections have expected servicesPieter Wuille2016-06-133-0/+15
| | | | | | | | | | | |
* | | | | | | | | | | | Keep addrman's nService bits consistent with outbound observationsPieter Wuille2016-06-133-0/+33
| |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge #8141: Continuing port of java comparison toolWladimir J. van der Laan2016-06-131-0/+5
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff2dcf2 Tests: Edit bloated varint test and add option for 'barely expensive' tests (mrbandrews) 12c5a16 Catch exceptions from non-canonical encoding and print only to log (mrbandrews) 291f8aa Continuing port of java comptool (mrbandrews) 8c9e681 Tests: Rework blockstore to avoid re-serialization. (mrbandrews)
| * | | | | | | | | | | Catch exceptions from non-canonical encoding and print only to logmrbandrews2016-06-021-0/+5
| | | | | | | | | | | |
* | | | | | | | | | | | Merge #7598: Refactor CreateNewBlock to be a method of the BlockAssembler classWladimir J. van der Laan2016-06-135-206/+333
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2dd5a3 FIX: correctly measure size of priority block (Alex Morcos) a278764 FIX: Account for txs already added to block in addPriorityTxs (Alex Morcos) 4dc94d1 Refactor CreateNewBlock to be a method of the BlockAssembler class (Alex Morcos)
| * | | | | | | | | | | FIX: correctly measure size of priority blockAlex Morcos2016-06-011-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | FIX: Account for txs already added to block in addPriorityTxsAlex Morcos2016-05-241-1/+6
| | | | | | | | | | | |
| * | | | | | | | | | | Refactor CreateNewBlock to be a method of the BlockAssembler classAlex Morcos2016-05-185-206/+328
| | | | | | | | | | | |
* | | | | | | | | | | | qt: translations updateWladimir J. van der Laan2016-06-102-17/+10
| | | | | | | | | | | |
* | | | | | | | | | | | Merge #8133: build: Finish up out-of-tree changesWladimir J. van der Laan2016-06-104-9/+69
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1a3d57 bulid: fix "make translate" when out-of-tree (Cory Fields) 340012d build: add temporary fix for "bad magic number" error in out-of-tree builds (Cory Fields) 142ffc7 travis: use out-of-tree build (Cory Fields) 92e37a3 build: fix out-of-tree 'make deploy' for osx (Cory Fields) ab95d5d build: a few ugly hacks to get the rpc tests working out-of-tree (Cory Fields) fc4ad0c build: more out-of-tree fixups (Cory Fields) 0cb0f26 build: out-of-tree fixups (Cory Fields)
| * | | | | | | | | | | | bulid: fix "make translate" when out-of-treeCory Fields2016-06-091-3/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | build: add temporary fix for "bad magic number" error in out-of-tree buildsCory Fields2016-06-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was caused by an pyc files hanging around from previous python2 invocations, when the matching .py missing from that path. This should not be a problem with python3's tagged caches.
| * | | | | | | | | | | | build: more out-of-tree fixupsCory Fields2016-06-012-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - clear the __pycache__ during 'make clean' - Copy the qrc locale file to a temp location and remove it when finished (rcc expects everything to be in the same path)
| * | | | | | | | | | | | build: out-of-tree fixupsCory Fields2016-06-012-4/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't glob the leveldb for dist. That means we need to enumerate the headers.
* | | | | | | | | | | | | Merge #8181: build: Get rid of `CLIENT_DATE`Wladimir J. van der Laan2016-06-104-12/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | d096d22 build: Get rid of `CLIENT_DATE` (Wladimir J. van der Laan)
| * | | | | | | | | | | | build: Get rid of `CLIENT_DATE`Wladimir J. van der Laan2016-06-094-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Putting the build date in the executable is a practice that has no place in these days, now that deterministic building is increasingly common. Continues #7732 which did this for the GUI.
* | | | | | | | | | | | | Merge #7292: [RPC] Expose ancestor/descendant information over RPCPieter Wuille2016-06-092-39/+223
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 176e19b Mention new RPC's in release notes (Suhas Daftuar) 7f6eda8 Add ancestor statistics to mempool entry RPC output (Suhas Daftuar) a9b8390 Add test coverage for new RPC calls (Suhas Daftuar) b09b813 Add getmempoolentry RPC call (Suhas Daftuar) 0dfd869 Add getmempooldescendants RPC call (Suhas Daftuar) 8f7b5dc Add getmempoolancestors RPC call (Suhas Daftuar) 5ec0cde Refactor logic for converting mempool entries to JSON (Suhas Daftuar)
| * | | | | | | | | | | | Add ancestor statistics to mempool entry RPC outputSuhas Daftuar2016-06-091-0/+6
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add getmempoolentry RPC callSuhas Daftuar2016-06-091-0/+34
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add getmempooldescendants RPC callSuhas Daftuar2016-06-092-1/+67
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add getmempoolancestors RPC callSuhas Daftuar2016-05-172-0/+66
| | | | | | | | | | | | |
| * | | | | | | | | | | | Refactor logic for converting mempool entries to JSONSuhas Daftuar2016-05-171-39/+51
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge #8166: src/test: Do not shadow local variablesWladimir J. van der Laan2016-06-094-8/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | c2715d3 Do not shadow local variables (Pavel Janík)
| * | | | | | | | | | | | Do not shadow local variablesPavel Janík2016-06-074-8/+8
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge #8154: drop vAddrToSend after sending big addr messageWladimir J. van der Laan2016-06-091-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3d02d5 drop vAddrToSend after sending big addr message (Kaz Wesley)
| * | | | | | | | | | | | | drop vAddrToSend after sending big addr messageKaz Wesley2016-06-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We send a newly-accepted peer a 1000-entry addr message, and then only use vAddrToSend for small messages. Deallocate vAddrToSend after it's been used for the big message to save about 40 kB per connected inbound peer.
* | | | | | | | | | | | | | Merge #8168: util: Add ParseUInt32 and ParseUInt64Wladimir J. van der Laan2016-06-093-0/+111
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e012f3c util: Add ParseUInt32 and ParseUInt64 (Wladimir J. van der Laan)
| * | | | | | | | | | | | | | util: Add ParseUInt32 and ParseUInt64Wladimir J. van der Laan2016-06-083-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add error and range-checking parsers for unsigned 32 and 64 bit numbers. The 32-bit variant is required for parsing sequence numbers from the command line in `bitcoin-tx` (see #8164 for discussion). I've thrown in the 64-bit variant as a bonus, as I'm sure it will be needed at some point. Also adds tests, and updates `developer-notes.md`.
* | | | | | | | | | | | | | | Merge #8172: Fix two warnings for comparison between signed and unsignedWladimir J. van der Laan2016-06-092-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77f63a4 Fix two warnings for comparison between signed and unsigned (Pieter Wuille)
| * | | | | | | | | | | | | | | Fix two warnings for comparison between signed and unsignedPieter Wuille2016-06-082-2/+2
| | |_|_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | |