Commit Graph

18422 Commits (d3b0b08b0f04d2f1dbebbafd7ab0384dfe045dec)

Author SHA1 Message Date
fanquake 4783115fd4
net: add ifaddrs.h include
4 years ago
fanquake 87deac66aa
rand: only try and use freeifaddrs if available
4 years ago
MarcoFalke c00852653f
Merge bitcoin-core/gui#254: refactor: Drop redundant setEditTriggers(NoEditTriggers) calls
4 years ago
MarcoFalke 19e3e65429
Merge bitcoin-core/gui#243: fix issue when disabling the auto-enabled blank wallet checkbox
4 years ago
MarcoFalke 9b48b3ac42
Merge #21390: test: Test improvements for UTXO set hash tests
4 years ago
MarcoFalke 9217f9fe73
Merge #21522: fuzz: [refactor] Use PickValue where possible
4 years ago
Carl Dong 07156eb387 node/coinstats: Replace #include with fwd-declaration
4 years ago
Carl Dong 7b8e976cd5 miner: Add chainstate member to BlockAssembler
4 years ago
Carl Dong e62067e7bc Revert "miner: Pass in chainstate to BlockAssembler::CreateNewBlock"
4 years ago
Carl Dong eede0647b0 Revert "scripted-diff: Invoke CreateNewBlock with chainstate"
4 years ago
Carl Dong 0c1b2bc549 Revert "miner: Remove old CreateNewBlock w/o chainstate param"
4 years ago
Wladimir J. van der Laan 23b15601df
Merge #17227: Qt: Add Android packaging support
4 years ago
MarcoFalke b1281b5d8f
Merge #21516: remove unnecessary newline from initWarning() argument
4 years ago
Larry Ruane 804ac10631 remove unnecessary newline from initWarning() argument
4 years ago
fanquake f95071a3f5
Merge #21489: fuzz: cleanups for versionbits fuzzer
4 years ago
MarcoFalke fa818ca202
fuzz: [refactor] Use PickValue where possible
4 years ago
Fabian Jahr 1a27af1d7b
rpc: Improve gettxoutsetinfo help
4 years ago
Martin Zumsande 18a9b27dd6 p2p: Don't send FEEFILTER in blocksonly mode
4 years ago
Jarol Rodriguez 915e34112b qt: fix issue when disabling the auto-enabled blank wallet checkbox
4 years ago
MarcoFalke 681c21be9a
Merge #21512: fuzz: Fix tx_pool target to properly fuzz immature outpoints
4 years ago
MarcoFalke 837e59eff6
Merge bitcoin-core/gui#248: Fix: For values of "Bytes transferred" and "Bytes/s" with 1000-based prefix names use 1000-based divisor instead of 1024-based
4 years ago
Michael Dietz 085b3a7299
rpc: deprecate `addresses` and `reqSigs` from rpc outputs
4 years ago
Hennadii Stepanov 257f55c119
qt, refactor: Drop redundant setEditTriggers(NoEditTriggers) calls
4 years ago
MarcoFalke 55ceaeb8c4
Merge #18030: doc: Coin::IsSpent() can also mean never existed
4 years ago
MarcoFalke fac921f23f
fuzz: Fix tx_pool target to properly fuzz immature outpoints
4 years ago
MarcoFalke fa2b95f861
fuzz: Style fixups
4 years ago
MarcoFalke fd2b22bf24
Merge #21142: fuzz: Add tx_pool fuzz target
4 years ago
MarcoFalke d400e672a0
Merge #21487: fuzz: Use ConsumeWeakEnum in addrman for service flags
4 years ago
John Newbery 3fc06d3d7b [net] remove fUpdateConnectionTime from FinalizeNode
4 years ago
MarcoFalke 1e4a3c057a
Merge #21317: util: Make Assume() usable as unary expression
4 years ago
MarcoFalke 786654aa5e
Merge #21498: refactor: return std::nullopt instead of {}
4 years ago
fanquake 5294f0d5a9
refactor: return std::nullopt instead of {}
4 years ago
Igor Cota ebfb10cb75 Qt: add Android packaging support
4 years ago
Jon Atack 7e3444805e
test: remove duplicate assertions in util_tests
4 years ago
MarcoFalke d2a78ee928
Merge #21488: test: add ParseUInt16() unit test and fuzz coverage
4 years ago
MarcoFalke 9dbec05600
Merge #21349: build: Fix fuzz-cuckoocache cross-compiling with DEBUG=1
4 years ago
MarcoFalke 4132193617
Merge #21040: wallet: Fix already-loading message grammar
4 years ago
Anthony Towns aa7f418fe3 fuzz: cleanups for versionbits fuzzer
4 years ago
MarcoFalke 63952f73b3
Merge #20921: validation: don't try to invalidate genesis block in CChainState::InvalidateBlock
4 years ago
MarcoFalke 55554463c1
fuzz: Use ConsumeWeakEnum in addrman for service flags
4 years ago
John Newbery 7c4cc67c0c [net] remove CConnman::AddNewAddresses
4 years ago
John Newbery bcd7f30b79 [net] remove CConnman::MarkAddressGood
4 years ago
John Newbery 8073673dbc [net] remove CConnman::SetServices
4 years ago
John Newbery 392a95d393 [net_processing] Keep addrman reference in PeerManager
4 years ago
John Newbery 1c25adf6d2 [net] Construct addrman outside connman
4 years ago
Jon Atack 3d086f42ab
test: add ParseUInt16() test coverage
4 years ago
practicalswift 732c7bddeb tests: Add test for CNetAddr::ToString IPv6 address formatting (RFC 5952)
4 years ago
MarcoFalke 3530d5d2d8
Merge #18335: bitcoin-cli: print useful error if bitcoind rpc work queue exceeded
4 years ago
MarcoFalke 18cd0888ef
Merge #21328: net, refactor: pass uint16 CService::port as uint16
4 years ago
Jon Atack 0cca08a8ee
Add unit test coverage for our onion peer eviction protection
4 years ago
Jon Atack caa21f586f
Protect onion+localhost peers in ProtectEvictionCandidatesByRatio()
4 years ago
Jon Atack 8f1a53eb02
Use EraseLastKElements() throughout SelectNodeToEvict()
4 years ago
Jon Atack 8b1e156143
Add m_inbound_onion to AttemptToEvictConnection()
4 years ago
Jon Atack 72e30e8e03
Add unit tests for ProtectEvictionCandidatesByRatio()
4 years ago
Jon Atack ca63b53ecd
Use std::unordered_set instead of std::vector in IsEvicted()
4 years ago
Jon Atack 41f84d5ecc
Move peer eviction tests to a separate test file
4 years ago
Jon Atack f126cbd6de
Extract ProtectEvictionCandidatesByRatio from SelectNodeToEvict
4 years ago
wodry d09ebc4723 Fix wrong(1024) divisor for 1000-based prefixes
4 years ago
MarcoFalke 3a12fdba51
Merge #21235: p2p: Clarify disconnect log message in ProcessGetBlockData, remove send bool
4 years ago
MarcoFalke faa9ef49d1
fuzz: Add tx_pool fuzz targets
4 years ago
MarcoFalke fa81773243
style-only: Remove whitespace
4 years ago
Patrick Strateman fae77b9e6d
net: Simplify ProcessGetBlockData execution by removing send flag.
4 years ago
MarcoFalke fae7c0429f
log: Clarify that block request below NODE_NETWORK_LIMITED_MIN_BLOCKS disconnects
4 years ago
MarcoFalke 6834e02c89
Merge #21425: refactor: Pass PeerManagerImpl members only once
4 years ago
fanquake e057e01b7b
Merge #21162: Net Processing: Move RelayTransaction() into PeerManager
4 years ago
Hennadii Stepanov ef3e1d7272
qt: Improve URI/file handling message
4 years ago
Wladimir J. van der Laan a9d1b40d53
Merge #21415: refactor: remove Optional & nullopt
4 years ago
MarcoFalke fa2a80bf12
refactor: Pass PeerManagerImpl members only once
4 years ago
fanquake ebc4ab721b
refactor: post Optional<> removal cleanups
4 years ago
fanquake 993ecafa5e
Merge #21417: Misc external signer improvement and HWI 2 support
4 years ago
Samuel Dobson d25e28c20b
Merge #21083: wallet: Avoid requesting fee rates multiple times during coin selection
4 years ago
Andrew Chow f9cd2bfbcc Rename CoinSelectionParams::effective_fee to m_effective_feerate
4 years ago
Andrew Chow bdd0c2934b wallet: Move discard feerate fetching to CreateTransaction
4 years ago
Andrew Chow 448d04b931 wallet: Move long term feerate setting to CreateTransaction
4 years ago
Jon Atack 52dd40a9fe
test: add missing netaddress include headers
4 years ago
Jon Atack 6f09c0f6b5
util: add missing braces and apply clang format to SplitHostPort()
4 years ago
Jon Atack 2875a764f7
util: add ParseUInt16(), use it in SplitHostPort()
4 years ago
Jon Atack 6423c8175f
p2p, refactor: pass and use uint16_t CService::port as uint16_t
4 years ago
Andrew Chow e2f429e6bb wallet: Replace nFeeRateNeeded with effective_fee
4 years ago
Andrew Chow 1a6a0b0dfb wallet: Use existing feerate instead of getting a new one
4 years ago
Wladimir J. van der Laan 01bb3afb51
Merge #21447: Always add -daemonwait to known command line arguments
4 years ago
Vasil Dimov 40316a37cb
test: add I2P test for a runaway SAM proxy
4 years ago
Vasil Dimov 2d8ac77970
fuzz: add tests for the I2P Session public interface
4 years ago
Vasil Dimov 9947e44de0
i2p: use pointers to Sock to accommodate mocking
4 years ago
Vasil Dimov 82d360b5a8
net: change ConnectSocketDirectly() to take a Sock argument
4 years ago
Vasil Dimov b5861100f8
net: add connect() and getsockopt() wrappers to Sock
4 years ago
Vasil Dimov 5a887d49b2
fuzz: avoid FuzzedSock::Recv() repeated errors with EAGAIN
4 years ago
Vasil Dimov 3088f83d01
fuzz: extend FuzzedSock::Recv() to support MSG_PEEK
4 years ago
Vasil Dimov 9b05c49ade
fuzz: implement unimplemented FuzzedSock methods
4 years ago
Wladimir J. van der Laan 1b6c463e03
Merge #21407: i2p: limit the size of incoming messages
4 years ago
Wladimir J. van der Laan 7723479300
Merge #220: Do not translate file extensions
4 years ago
Wladimir J. van der Laan 3b408d21e0
Merge #21438: test: add ParseUInt8() test coverage
4 years ago
Wladimir J. van der Laan af6ee17545
Merge #21405: compat: remove memcpy -> memmove backwards compatibility alias
4 years ago
Wladimir J. van der Laan cb0aafbd21
Merge #21444: net, doc: Doxygen updates and fixes in netbase.{h,cpp}
4 years ago
Vasil Dimov 7059e6d822
test: add a test to ensure RecvUntilTerminator() limit works
4 years ago
Vasil Dimov 80a5a8ea2b
i2p: limit the size of incoming messages
4 years ago
Hennadii Stepanov 4d008f908e
Always add -daemonwait to known command line arguments
4 years ago
MarcoFalke 8e6532053f
Merge bitcoin-core/gui#246: Revert "qt: Use "fusion" style on macOS Big Sur with old Qt"
4 years ago
Jon Atack 76782e560b
refactor: reuse test string with embedded null char in util_tests
4 years ago
Jon Atack 24c6546946
test: add ParseUInt8() unit and fuzz test coverage
4 years ago