Cory Fields
b1a5f43208
net: move OpenNetworkConnection into CConnman
2016-09-08 12:06:24 -04:00
Cory Fields
8d58c4d81f
net: Pass CConnman around as needed
2016-09-08 12:04:35 -04:00
Cory Fields
d7349ca50d
net: Add rpc error for missing/disabled p2p functionality
2016-09-08 12:04:35 -04:00
Wladimir J. van der Laan
6f939c9080
Merge #8629 : C++11: s/boost::scoped_ptr/std::unique_ptr/
...
cdd79eb
C++11: s/boost::scoped_ptr/std::unique_ptr/ (Jorge Timón)
2016-09-02 09:56:33 +02:00
Jorge Timón
cdd79eb70f
C++11: s/boost::scoped_ptr/std::unique_ptr/
2016-09-01 19:05:07 +02:00
Pieter Wuille
854f1af22e
Make the dummy argument to getaddednodeinfo optional
2016-09-01 16:27:30 +02:00
Wladimir J. van der Laan
0c8875d23b
Merge #8163 : Do not shadow global RPC table variable (tableRPC)
...
de1bbe3
Do not shadow global RPC table variable (tableRPC) (Pavel Janík)
2016-08-31 16:07:58 +02:00
Wladimir J. van der Laan
a5bb6387f7
Merge #8607 : [doc] Fix doxygen off-by-one comments, fix typos
...
fafe7b3
contrib: Make fix-copyright-headers.py more portable (MarcoFalke)
fa27c0a
[doc] Fix typos in comments, doxygen: Fix comment syntax (MarcoFalke)
fabfd5d
[qa] pull-tester: Don't mute zmq ImportError (MarcoFalke)
67a5502
init: Fix typo in help message for -whitelistforcerelay (Wladimir J. van der Laan)
2016-08-28 16:06:03 +02:00
Pavel Janík
de1bbe3b78
Do not shadow global RPC table variable (tableRPC)
2016-08-25 15:02:26 +02:00
MarcoFalke
fa27c0a2c4
[doc] Fix typos in comments, doxygen: Fix comment syntax
2016-08-22 10:51:41 +02:00
Wladimir J. van der Laan
f4e777819c
Merge #8461 : document return value of networkhashps for getmininginfo RPC endpoint
...
65f4532
document return value of networkhashps for getmininginfo RPC endpoint (Jameson Lopp)
2016-08-19 12:18:42 +02:00
Wladimir J. van der Laan
e753eaeb34
Merge #8505 : Trivial: Fix typos in various files
...
1aacfc2
various typos (leijurv)
2016-08-17 12:51:16 +02:00
Wladimir J. van der Laan
29496fc9e0
Merge #8512 : Trivial: Corrected JSON typo on setban of net.cpp
...
6ffd996
Corrected JSON typo on setban of net.cpp (Sev)
2016-08-17 12:01:46 +02:00
Wladimir J. van der Laan
1030fa718c
Merge #8128 : Net: Turn net structures into dumb storage classes
...
9e9d644
net: fixup nits (Cory Fields)
8945384
net: Have LookupNumeric return a CService directly (Cory Fields)
21ba407
net: narrow include scope after moving to netaddress (Cory Fields)
21e5b96
net: move CNetAddr/CService/CSubNet out of netbase (Cory Fields)
1017b8a
net: Add direct tests for new CSubNet constructors (Cory Fields)
b6c3ff3
net: Split resolving out of CSubNet (Cory Fields)
f96c7c4
net: Split resolving out of CService (Cory Fields)
31d6b1d
net: Split resolving out of CNetAddr (Cory Fields)
2016-08-15 13:35:27 +02:00
leijurv
1aacfc2da5
various typos
2016-08-14 07:57:11 -06:00
Sev
6ffd996b8e
Corrected JSON typo on setban of net.cpp
2016-08-14 15:36:22 +03:00
Wladimir J. van der Laan
3859072963
Merge #8353 : Trivial: tiny c++11 refactors
...
c784086
use std::map::emplace() instead of std::map::insert() (whythat)
5e187e7
use c++11 std::unique_ptr instead of boost::shared_ptr (whythat)
947913f
use std::map::erase(const_iterator, const_iterator) to get non-constant iterator (whythat)
2016-08-13 15:55:09 +02:00
whythat
c784086075
use std::map::emplace() instead of std::map::insert()
2016-08-09 03:11:45 +03:00
whythat
5e187e7001
use c++11 std::unique_ptr instead of boost::shared_ptr
2016-08-09 03:11:45 +03:00
Luke Dashjr
160f895a80
Bugfix: Use pre-BIP141 sigops until segwit activates
2016-08-08 21:56:32 +00:00
Jameson Lopp
65f4532f13
document return value of networkhashps for getmininginfo RPC endpoint
2016-08-05 04:04:07 -04:00
Cory Fields
b6c3ff3dae
net: Split resolving out of CSubNet
2016-07-31 14:01:43 -04:00
Cory Fields
31d6b1d5f0
net: Split resolving out of CNetAddr
2016-07-31 13:24:07 -04:00
NicolasDorier
122786d0e0
Consensus: Remove ISM
2016-07-23 01:02:53 +09:00
Suhas Daftuar
2c06bae39e
Rename "block cost" to "block weight"
2016-07-18 13:28:26 -04:00
Jonas Schnelli
b1c7b244e2
[Wallet] report optional HDKeypath/HDMasterKeyId in validateaddress
2016-07-09 12:12:32 +02:00
Pavel Janík
2129fcea69
The bit field is shown only when status is "started"
2016-06-28 10:25:27 +02:00
Wladimir J. van der Laan
5a06ebbf2d
Merge #8258 : RPC: Hide softfork if timeout is 0
...
409f833
RPC: Hide softfork if timeout is 0 (jl2012)
2016-06-27 16:07:50 +02:00
Wladimir J. van der Laan
1922e5a654
Merge #8244 : remove unnecessary LOCK(cs_main) in getrawpmempool
...
27f8126
remove unnecessary LOCK(cs_main) (Daniel Cousens)
2016-06-25 16:10:10 +02:00
jl2012
409f83322e
RPC: Hide softfork if timeout is 0
2016-06-25 00:55:07 +08:00
Daniel Cousens
27f8126ff3
remove unnecessary LOCK(cs_main)
2016-06-23 12:44:53 +10:00
NicolasDorier
745eb678ef
[RPC] signrawtransaction can sign P2WSH
2016-06-22 15:43:01 +02:00
Pieter Wuille
f4691ab3a9
[RPC] Add wallet support for witness transactions (using P2SH)
...
Includes support for pushkeyhash wit v0 by Alex Morcos.
2016-06-22 15:43:01 +02:00
Pieter Wuille
605e8473a7
BIP143: Signing logic
2016-06-22 15:43:01 +02:00
Pieter Wuille
2b1f6f9ccf
BIP141: Other consensus critical limits, and BIP145
...
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
2016-06-22 15:43:00 +02:00
Johnson Lau
7c4bf779e8
[RPC] Return witness data in blockchain RPCs
...
Includes RPC field name changes by Luke-jr.
2016-06-22 15:43:00 +02:00
Pieter Wuille
3dd410294d
BIP143: Verification logic
...
Includes simplifications by Eric Lombrozo.
2016-06-22 15:43:00 +02:00
Pieter Wuille
0ef1dd3e11
Refactor script validation to observe amounts
...
This is a preparation for BIP143 support.
2016-06-22 15:43:00 +02:00
Pieter Wuille
8b49040854
BIP141: Commitment structure and deployment
...
Includes a fix by Suhas Daftuar and LongShao007
2016-06-22 15:42:59 +02:00
Pieter Wuille
449f9b8deb
BIP141: Witness program
2016-06-22 15:42:59 +02:00
Pieter Wuille
7030d9eb47
BIP144: Serialization, hashes, relay (sender side)
...
Contains refactorings by Eric Lombrozo.
Contains fixup by Nicolas Dorier.
Contains cleanup of CInv::GetCommand by Alex Morcos
2016-06-22 15:42:59 +02:00
Wladimir J. van der Laan
3f89a534ac
Merge #8113 : Rework addnode behaviour
...
1a5a4e6
Randomize name lookup result in ConnectSocketByName (Pieter Wuille)
f9f5cfc
Prevent duplicate connections where one is by name and another by ip (Pieter Wuille)
1111b80
Rework addnode behaviour (Pieter Wuille)
2016-06-16 12:06:51 +02:00
Wladimir J. van der Laan
62fcf27bd8
Merge #8171 : [RPC] Fix createrawtx sequence number unsigned int parsing
...
6fa950a
[RPC] Fix createrawtx sequence number unsigned int parsing (Jonas Schnelli)
2016-06-16 11:06:51 +02:00
Pieter Wuille
1111b80df8
Rework addnode behaviour
...
* 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
2016-06-13 23:53:06 +02:00
Wladimir J. van der Laan
e1486eb95c
Merge #7598 : Refactor CreateNewBlock to be a method of the BlockAssembler class
...
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)
2016-06-13 11:35:55 +02:00
Pieter Wuille
7ce9ac5c83
Merge #7292 : [RPC] Expose ancestor/descendant information over RPC
...
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)
2016-06-09 16:32:37 +02:00
Suhas Daftuar
7f6eda8043
Add ancestor statistics to mempool entry RPC output
2016-06-09 09:56:27 -04:00
Suhas Daftuar
b09b8135ae
Add getmempoolentry RPC call
2016-06-09 09:56:27 -04:00
Suhas Daftuar
0dfd86956d
Add getmempooldescendants RPC call
2016-06-09 09:56:27 -04:00
Pieter Wuille
66ed450d77
Merge #7935 : Versionbits: GBT support
...
12c708a
getblocktemplate: Use version/force mutation to support pre-BIP9 clients (Luke Dashjr)
9879060
getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not (Luke Dashjr)
72cd6b2
qa/rpc-tests: bip9-softforks: Add tests for getblocktemplate versionbits updates (Luke Dashjr)
d3df40e
Implement BIP 9 GBT changes (Luke Dashjr)
2016-06-08 15:44:07 +02:00