jnewbery
621441a7a7
add verbose mode to bitcoin-util-test.py
8 years ago
jonnynewbs
4408558843
Update bitcoin-tx to output witness data.
8 years ago
jnewbery
d51f182461
Don't return the address of a P2SH of a P2SH.
8 years ago
Wladimir J. van der Laan
223f4c2dd5
Merge #8884 : Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block
...
a78e542
Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block (Luke Dashjr)
8 years ago
Wladimir J. van der Laan
1df311118d
protocol.h: Make enums in GetDataMsg concrete values
...
This concretizes the numbers and adds a comment to make it clear that
these numbers are fixed by the protocol, and may avoid people forgetting
to claim numbers in the future (e.g. issue #8500 ).
Also gets rid of a weird unused `MSG_TYPE_MAX` in the middle of the
enumeration (thanks @paveljanik for noticing).
8 years ago
fanquake
f2e939bdbc
[Doc] Update Doxygen configuration file
8 years ago
Wladimir J. van der Laan
f92805025d
Merge #8879 : [doc] Rework docs
...
eeeebdd
[doc] Rework docs (MarcoFalke)
8 years ago
Cory Fields
cb78c60534
gui: fix ban from qt console
...
Rather than doing a circle and re-resolving the node's IP, just use the one
from nodestats directly.
This requires syncing the addr field from CNode.
8 years ago
Luke Dashjr
a78e5428ac
Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block
8 years ago
Luke Dashjr
178cd887ec
Qt/splash: Specifically keep track of which wallet(s) we are connected to for later disconnecting
8 years ago
Luke Dashjr
1880aeb033
Qt: Get the private key for signing messages via WalletModel
8 years ago
Suhas Daftuar
6976db2f46
[qa] Another attempt to fix race condition in p2p-compactblocks.py
...
sync_with_ping() only guarantees that the node has processed messages
it's received from the peer, not that block announcements from the node have
made it back to the peer. Replace sync_with_ping() with an explicit check that
the node's tip has been announced.
8 years ago
Matt Corallo
a9aec5c24d
Use BlockChecked signal to send reject messages from mapBlockSource
8 years ago
Matt Corallo
7565e03b96
Remove SyncWithWallets wrapper function
8 years ago
Matt Corallo
12ee1fe018
Always call UpdatedBlockTip, even if blocks were only disconnected
8 years ago
Matt Corallo
f5efa28393
Remove CConnman parameter from ProcessNewBlock/ActivateBestChain
8 years ago
Matt Corallo
fef1010199
Use CValidationInterface from chain logic to notify peer logic
...
This adds a new CValidationInterface subclass, defined in main.h,
to receive notifications of UpdatedBlockTip and use that to push
blocks to peers, instead of doing it directly from
ActivateBestChain.
8 years ago
Matt Corallo
aefcb7b70c
Move net-processing logic definitions together in main.h
8 years ago
Suhas Daftuar
27acfc1d2e
[qa] Update p2p-compactblocks.py for compactblocks v2
8 years ago
Suhas Daftuar
422fac649f
[qa] Add support for compactblocks v2 to mininode
8 years ago
Suhas Daftuar
f5b9b8f437
[qa] Fix bug in mininode witness deserialization
...
Also improve tx printing
8 years ago
Pieter Wuille
6aa28abf53
Use cmpctblock type 2 for segwit-enabled transfer
...
Contains version negotiation logic by Matt Corallo and bugfixes by
Suhas Daftuar.
8 years ago
Matt Corallo
0278fb5f48
Remove duplicate nBlocksEstimate cmp (we already checked IsIBD())
8 years ago
Matt Corallo
87e7d72807
Make validationinterface.UpdatedBlockTip more verbose
...
In anticipation of making all the callbacks out of block processing
flow through it. Note that vHashes will always have something in it
since pindexFork != pindexNewTip.
8 years ago
Matt Corallo
be7555f0c0
Fix overly-prescriptive p2p-segwit test for new fetch logic
8 years ago
Matt Corallo
06128da751
Make GetFetchFlags always request witness objects from witness peers
...
This fixes a bug where we might (in exceedingly rare circumstances)
accidentally ban a node for sending us the first (potentially few)
segwit blocks in non-segwit mode.
8 years ago
MarcoFalke
eeeebdd3cb
[doc] Rework docs
...
* Minor formatting such as adjusting links
* Move sections of `doc/multiwallet-qt.md` to the source code and delete
the file, as it is outdated
* Fix typo in the release notes
* Amend release process to mention update of BLOCK_CHAIN_SIZE
8 years ago
Wladimir J. van der Laan
2c09a5209a
protocol.h: Move MESSAGE_START_SIZE into CMessageHeader
...
Also move the enum to the top, and remove a deceptive TODO
comment.
8 years ago
Wladimir J. van der Laan
f9bd92d235
version.h: s/shord/short/ in comment
8 years ago
Wladimir J. van der Laan
d7615af34e
Merge #8848 : Add NULLDUMMY verify flag in bitcoinconsensus.h
...
2fa0063
Add NULLDUMMY verify flag in bitcoinconsensus.h (Johnson Lau)
8 years ago
Wladimir J. van der Laan
d93f0c6184
Merge #8862 : Fix a few cases where messages were sent after requested disconnect
...
905bc68
net: fix a few cases where messages were sent rather than dropped upon disconnection (Cory Fields)
8 years ago
Wladimir J. van der Laan
7dce175f5d
Merge #8850 : Implement (begin|end)_ptr in C++11 and add deprecation comment
...
f00705a
serialize: Deprecate `begin_ptr` / `end_ptr` (Wladimir J. van der Laan)
47314e6
prevector: add C++11-like data() method (Wladimir J. van der Laan)
8 years ago
jnewbery
5f274a1749
log block size and weight correctly.
8 years ago
Wladimir J. van der Laan
a7e5cbb209
Merge #8856 : Globals: Decouple GetConfigFile and ReadConfigFile from global mapArgs
...
3450c18
Globals: Decouple GetConfigFile and ReadConfigFile from global mapArgs (Jorge Timón)
8 years ago
MarcoFalke
76f3c02fb0
Merge #8860 : [qa] util: Move wait_bitcoinds() into stop_nodes()
...
fa7c35c
[qa] util: Move wait_bitcoinds() into stop_nodes() (MarcoFalke)
8 years ago
Wladimir J. van der Laan
eafc5f4fae
Merge #8863 : univalue: Pull subtree
...
2ca7faa
Squashed 'src/univalue/' changes from daf1285..16a1f7f (MarcoFalke)
8 years ago
Wladimir J. van der Laan
6f3ef551fa
Merge #8858 : rpc: Generate auth cookie in hex instead of base64
...
1c80386
rpc: Generate auth cookie in hex instead of base64 (Wladimir J. van der Laan)
8 years ago
MarcoFalke
6013c73b33
Merge #8857 : [qa] mininode: Only allow named args in wait_until
...
fa66609
[qa] mininode: Only allow named args in wait_until (MarcoFalke)
8 years ago
MarcoFalke
fa666094cf
[qa] mininode: Only allow named args in wait_until
8 years ago
MarcoFalke
fa7c35c4ec
[qa] util: Move wait_bitcoinds() into stop_nodes()
8 years ago
Wladimir J. van der Laan
f00705ae7f
serialize: Deprecate `begin_ptr` / `end_ptr`
...
Implement `begin_ptr` and `end_ptr` in terms of C++11 code,
and add a comment that they are deprecated.
Follow-up to developer notes update in 654a211622
.
8 years ago
Cory Fields
905bc68d05
net: fix a few cases where messages were sent rather than dropped upon disconnection
...
75ead758 turned these into crashes in the event of a handshake failure, most
notably when a peer does not offer the expected services.
There are likely other cases that these assertions will find as well.
8 years ago
Wladimir J. van der Laan
1c80386bce
rpc: Generate auth cookie in hex instead of base64
...
Base64 contains '/', and the '/' character in credentials is problematic
for AuthServiceProxy which represents the RPC endpoint as an URI with
user and password embedded.
Closes #8399 .
8 years ago
MarcoFalke
6faffb8a83
Merge #8854 : [qa] Fix race condition in p2p-compactblocks test
...
b5fd666
[qa] Fix race condition in p2p-compactblocks test (Suhas Daftuar)
8 years ago
Jorge Timón
3450c18a12
Globals: Decouple GetConfigFile and ReadConfigFile from global mapArgs
8 years ago
Suhas Daftuar
b5fd666984
[qa] Fix race condition in p2p-compactblocks test
...
Also fix a bug in the sync_with_ping() helper function
8 years ago
Wladimir J. van der Laan
7b784cc2bb
Merge #8852 : Mention Gitian building script in doc (Laudaa)
...
203e2dd
Mention Gitian building script in doc. (Lauda)
8 years ago
Lauda
203e2ddad8
Mention Gitian building script in doc.
8 years ago
MarcoFalke
e757115164
Merge commit '2ca7faab4205822b06dc2ab2bbda0a9a70fce7e0' into HEAD
8 years ago
MarcoFalke
2ca7faab42
Squashed 'src/univalue/' changes from daf1285..16a1f7f
...
16a1f7f Merge #3 : Pull upstream
3f03bfd Merge pull request #27 from laanwj/2016_09_const_refs
5668ca3 Return const references from getKeys, getValues, get_str
cedda14 Merge pull request #28 from MarcoFalke/patch-1
9f0b997 [travis] Work around osx libtool issue
git-subtree-dir: src/univalue
git-subtree-split: 16a1f7f6e9ed932bec7c7855003affea1e165fb5
8 years ago