aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
AgeCommit message (Collapse)Author
2016-09-13Remove createwitnessaddressJohnson Lau
This RPC command is unsafe as it will return an address even if the script is invalid.
2016-09-09Merge #8085: p2p: Begin encapsulationWladimir J. van der Laan
0103c5b net: move MAX_FEELER_CONNECTIONS into connman (Cory Fields) e700cd0 Convert ForEachNode* functions to take a templated function argument rather than a std::function to eliminate std::function overhead (Jeremy Rubin) d1a2295 Made the ForEachNode* functions in src/net.cpp more pragmatic and self documenting (Jeremy Rubin) 98591c5 net: move vNodesDisconnected into CConnman (Cory Fields) fa2f8bc net: add nSendBufferMaxSize/nReceiveFloodSize to CConnection::Options (Cory Fields) a19553b net: Introduce CConnection::Options to avoid passing so many params (Cory Fields) bafa5fc net: Drop StartNode/StopNode and use CConnman directly (Cory Fields) e81a602 net: pass CClientUIInterface into CConnman (Cory Fields) f60b905 net: Pass best block known height into CConnman (Cory Fields) fdf69ff net: move max/max-outbound to CConnman (Cory Fields) 8a59369 net: move semOutbound to CConnman (Cory Fields) bd72937 net: move nLocalServices/nRelevantServices to CConnman (Cory Fields) be9c796 net: move SendBufferSize/ReceiveFloodSize to CConnman (Cory Fields) 63cafa6 net: move send/recv statistics to CConnman (Cory Fields) adf5d4c net: SocketSendData returns written size (Cory Fields) ee44fa9 net: move messageHandlerCondition to CConnman (Cory Fields) 960cf2e net: move nLocalHostNonce to CConnman (Cory Fields) 551e088 net: move nLastNodeId to CConnman (Cory Fields) 6c19d92 net: move whitelist functions into CConnman (Cory Fields) 53347f0 net: create generic functor accessors and move vNodes to CConnman (Cory Fields) c0569c7 net: Add most functions needed for vNodes to CConnman (Cory Fields) 8ae2dac net: move added node functions to CConnman (Cory Fields) 502dd3a net: Add oneshot functions to CConnman (Cory Fields) a0f3d3c net: move ban and addrman functions into CConnman (Cory Fields) aaf018e net: handle nodesignals in CConnman (Cory Fields) b1a5f43 net: move OpenNetworkConnection into CConnman (Cory Fields) 02137f1 net: Move socket binding into CConnman (Cory Fields) 5b446dd net: Pass CConnection to wallet rather than using the global (Cory Fields) 8d58c4d net: Pass CConnman around as needed (Cory Fields) d7349ca net: Add rpc error for missing/disabled p2p functionality (Cory Fields) cd16f48 net: Create CConnman to encapsulate p2p connections (Cory Fields) d93b14d net: move CBanDB and CAddrDB out of net.h/cpp (Cory Fields) 531214f gui: add NodeID to the peer table (Cory Fields)
2016-09-08Made the ForEachNode* functions in src/net.cpp more pragmatic and self ↵Jeremy Rubin
documenting
2016-09-08net: move nLocalServices/nRelevantServices to CConnmanCory 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-08net: move send/recv statistics to CConnmanCory Fields
2016-09-08net: create generic functor accessors and move vNodes to CConnmanCory Fields
2016-09-08net: Add most functions needed for vNodes to CConnmanCory Fields
2016-09-08net: move added node functions to CConnmanCory Fields
2016-09-08net: move ban and addrman functions into CConnmanCory Fields
2016-09-08net: move OpenNetworkConnection into CConnmanCory Fields
2016-09-08net: Pass CConnman around as neededCory Fields
2016-09-08net: Add rpc error for missing/disabled p2p functionalityCory Fields
2016-09-07add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for testsCory 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-02Merge #8629: C++11: s/boost::scoped_ptr/std::unique_ptr/Wladimir J. van der Laan
cdd79eb C++11: s/boost::scoped_ptr/std::unique_ptr/ (Jorge Timón)
2016-09-01C++11: s/boost::scoped_ptr/std::unique_ptr/Jorge Timón
2016-09-01Make the dummy argument to getaddednodeinfo optionalPieter Wuille
2016-08-31Merge #8163: Do not shadow global RPC table variable (tableRPC)Wladimir J. van der Laan
de1bbe3 Do not shadow global RPC table variable (tableRPC) (Pavel Janík)
2016-08-28Merge #8607: [doc] Fix doxygen off-by-one comments, fix typosWladimir J. van der Laan
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-25Do not shadow global RPC table variable (tableRPC)Pavel Janík
2016-08-22[doc] Fix typos in comments, doxygen: Fix comment syntaxMarcoFalke
2016-08-19Merge #8461: document return value of networkhashps for getmininginfo RPC ↵Wladimir J. van der Laan
endpoint 65f4532 document return value of networkhashps for getmininginfo RPC endpoint (Jameson Lopp)
2016-08-17Merge #8505: Trivial: Fix typos in various filesWladimir J. van der Laan
1aacfc2 various typos (leijurv)
2016-08-17Merge #8512: Trivial: Corrected JSON typo on setban of net.cppWladimir J. van der Laan
6ffd996 Corrected JSON typo on setban of net.cpp (Sev)
2016-08-15Merge #8128: Net: Turn net structures into dumb storage classesWladimir J. van der Laan
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-14various typosleijurv
2016-08-14Corrected JSON typo on setban of net.cppSev
2016-08-13Merge #8353: Trivial: tiny c++11 refactorsWladimir J. van der Laan
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-09use std::map::emplace() instead of std::map::insert()whythat
2016-08-09use c++11 std::unique_ptr instead of boost::shared_ptrwhythat
2016-08-08Bugfix: Use pre-BIP141 sigops until segwit activatesLuke Dashjr
2016-08-05document return value of networkhashps for getmininginfo RPC endpointJameson Lopp
2016-07-31net: Split resolving out of CSubNetCory Fields
2016-07-31net: Split resolving out of CNetAddrCory Fields
2016-07-23Consensus: Remove ISMNicolasDorier
2016-07-18Rename "block cost" to "block weight"Suhas Daftuar
2016-07-09[Wallet] report optional HDKeypath/HDMasterKeyId in validateaddressJonas Schnelli
2016-06-28The bit field is shown only when status is "started"Pavel Janík
2016-06-27Merge #8258: RPC: Hide softfork if timeout is 0Wladimir J. van der Laan
409f833 RPC: Hide softfork if timeout is 0 (jl2012)
2016-06-25Merge #8244: remove unnecessary LOCK(cs_main) in getrawpmempoolWladimir J. van der Laan
27f8126 remove unnecessary LOCK(cs_main) (Daniel Cousens)
2016-06-25RPC: Hide softfork if timeout is 0jl2012
2016-06-23remove unnecessary LOCK(cs_main)Daniel Cousens
2016-06-22[RPC] signrawtransaction can sign P2WSHNicolasDorier
2016-06-22[RPC] Add wallet support for witness transactions (using P2SH)Pieter Wuille
Includes support for pushkeyhash wit v0 by Alex Morcos.
2016-06-22BIP143: Signing logicPieter Wuille
2016-06-22BIP141: Other consensus critical limits, and BIP145Pieter Wuille
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
2016-06-22[RPC] Return witness data in blockchain RPCsJohnson Lau
Includes RPC field name changes by Luke-jr.
2016-06-22BIP143: Verification logicPieter Wuille
Includes simplifications by Eric Lombrozo.
2016-06-22Refactor script validation to observe amountsPieter Wuille
This is a preparation for BIP143 support.
2016-06-22BIP141: Commitment structure and deploymentPieter Wuille
Includes a fix by Suhas Daftuar and LongShao007
2016-06-22BIP141: Witness programPieter Wuille