Alex Morcos
9e072a6e66
Implement "feefilter" P2P message.
...
The "feefilter" p2p message is used to inform other nodes of your mempool min fee which is the feerate that any new transaction must meet to be accepted to your mempool. This will allow them to filter invs to you according to this feerate.
9 years ago
Patrick Strateman
c90036f664
Always disconnect old nodes which request filtered connections.
9 years ago
BtcDrak
01fdfeffc4
Remove `-alerts` option
9 years ago
Pieter Wuille
6851107b3a
BIP9 Implementation
...
Inspired by former implementations by Eric Lombrozo and Rusty Russell, and
based on code by Jorge Timon.
9 years ago
Jonas Schnelli
15e6e13624
[Wallet] optimize return value of InitLoadWallet()
9 years ago
Jonas Schnelli
fc7c60d699
[Wallet] move "load wallet phase" to CWallet
9 years ago
Jonas Schnelli
72c2651581
[Wallet] move wallet help string creation to CWallet
9 years ago
Jonas Schnelli
5ecfa36fd0
Remove openssl info from init/log and from Qt debug window
9 years ago
Patrick Strateman
110b62f069
Remove vfReachable and modify IsReachable to only use vfLimited.
...
We do not know that a class of Network is reachable, only that it is not.
9 years ago
Pavel Janík
a0a17b3e44
LibreSSL doesn't define OPENSSL_VERSION, use LIBRESSL_VERSION_TEXT instead
9 years ago
Luke Dashjr
1fb91b3496
Common argument defaults for NODE_BLOOM stuff and -wallet
9 years ago
Leviathn
8d1de43f0c
Remove internal miner
...
This code removes the internal miner which is only useful on Testnet.
This leaves the internal miner that is useful on RegTest intact.
9 years ago
Luke Dashjr
027fdb83b4
When/if the copyright line does not mention Bitcoin Core developers, add a second line to copyrights in -version, About dialog, and splash screen
9 years ago
Luke Dashjr
b922fbe063
Rename replacebyfee=opt-in to mempoolreplacement=fee
9 years ago
Gregory Maxwell
89d113e02a
Blacklist -whitelistalwaysrelay; replaced by -whitelistrelay.
9 years ago
MarcoFalke
fa331db68b
mempool: Replace maxFeeRate of 10000*minRelayTxFee with maxTxFee
9 years ago
Luke Dashjr
3b66e54457
Simplify check for replacebyfee=opt-in
9 years ago
Gregory Maxwell
325c725fb6
Add whitelistforcerelay to control forced relaying.
...
Also renames whitelistalwaysrelay.
Nodes relay all transactions from whitelisted peers, this
gets in the way of some useful reasons for whitelisting
peers-- for example, bypassing bandwidth limitations.
The purpose of this forced relaying is for specialized gateway
applications where a node is being used as a P2P connection
filter and multiplexer, but where you don't want it getting
in the way of (re-)broadcast.
This change makes it configurable with whitelistforcerelay.
9 years ago
Luke Dashjr
d65dee961e
Accept replacebyfee=opt-in for turning on opt-in RBF
...
Basic forward-compatibility with more flexible parameters like fss
9 years ago
Luke Dashjr
77b55a00ed
Rename permitrbf to replacebyfee
...
"permit" is currently used to configure transaction filtering, whereas replacement is more to do with the memory pool state than the transaction itself.
9 years ago
MarcoFalke
fae78fa818
[init] Clarify permitrbf help message
9 years ago
Wladimir J. van der Laan
b768108d9c
Add option `-permitrbf` to set transaction replacement policy
...
Add a configuration option `-permitrbf` to set transaction replacement policy
for the mempool.
Enabling it will enable (opt-in) RBF, disabling it will refuse all
conflicting transactions.
9 years ago
Daniel Cousens
a0eaff8a1d
move rpc* to rpc/
9 years ago
Jonas Schnelli
dd2dc400ee
[RPC, Wallet] Move RPC dispatch table registration to wallet/ code
...
Allow extending the rpc dispatch table by appending commands when server is not running.
9 years ago
MarcoFalke
fa461df685
Clarify mocktime help message
9 years ago
MarcoFalke
faa572a329
[init] Help Msg: Use Params(CBaseChainParams::MAIN)
9 years ago
MarcoFalke
fa6ab96799
[init] Add missing help for args
9 years ago
MarcoFalke
fac11ea310
[init] Fix error message of maxtxfee invalid amount
9 years ago
Alex Morcos
e420a1b15e
Add sane fallback for fee estimation
...
Add new commandline option "-fallbackfee" to use when fee estimation does not have sufficient data.
9 years ago
Luke Dashjr
5e109225ae
Combine common error strings for different options so translations can be shared and reused
9 years ago
Luke Dashjr
917b1d03cf
Set copyright holders displayed in notices separately from the package name
...
This helps avoid accidental removal of upstream copyright names
9 years ago
Luke Dashjr
1a6c67c8f5
Parameterise 2009 in translatable copyright strings
9 years ago
Wladimir J. van der Laan
64360f1304
Make max tip age an option instead of chainparam
...
After discussion in #7164 I think this is better.
Max tip age was introduced in #5987 to make it possible to run
testnet-in-a-box. But associating this behavior with the testnet chain
is wrong conceptually, as it is not needed in normal usage.
Should aim to make testnet test the software as-is.
Replace it with a (debug) option `-maxtipage`, which can be
specified only in the specific case.
9 years ago
Luke Dashjr
d5f46832de
Unify package name to as few places as possible without major changes
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Luke Dashjr
45b8e278fb
-bytespersigop option to additionally limit sigops in transactions we relay and mine
9 years ago
Luke Dashjr
02354c93be
Constrain rpcport default values to a single location in code
9 years ago
MarcoFalke
fa19a588b9
HelpMessage: Don't hide -mintxfee behind showDebug
9 years ago
Daniel Cousens
4531fc4272
torcontrol: only output disconnect if -debug=tor
9 years ago
Jonas Schnelli
012fc91511
NotifyBlockTip signal: switch from hash (uint256) to CBlockIndex*
...
- also adds a boolean for indication if the tip update was happening during initial sync
- emit notification also during initial sync
9 years ago
Gregory Sanders
d52fbf00e3
Added additional config option for multiple RPC users.
9 years ago
MarcoFalke
fa4b627269
Move blocksonly parameter interaction to InitParameterInteraction()
9 years ago
MarcoFalke
fa41d4c8c6
[qt] Move GUI related HelpMessage() part downstream
9 years ago
MarcoFalke
faf93f37fe
[trivial] Reuse translation and cleanup DEFAULT_* values
...
* DEFAULT_DISABLE_SAFEMODE = false
* Use DEFAULT_* constants for extern bools
9 years ago
Luke Dashjr
3307bdb333
Bugfix: Omit wallet-related options from -help when wallet is not supported
9 years ago
Luke Dashjr
b966aa836a
Constrain constant values to a single location in code
9 years ago
paveljanik
a64d7b4e42
Print correct minimum mempool size in MB
9 years ago
Jonas Schnelli
a46f87f0c1
Initialize logging before we do parameter interaction
9 years ago
Jonas Schnelli
df66147613
Move -blocksonly parameter interaction to the new ParameterInteraction() function
9 years ago
Jonas Schnelli
411b05ac95
Refactor parameter interaction, call it before AppInit2()
9 years ago