Braydon Fuller
7c68235cf4
main: include timestampindex in help
2016-06-02 12:15:14 -04:00
Braydon Fuller
9babc7ff9f
main: start of address index
...
Adds a configuration option for addressindex to search for txids by address. Includes
an additional rpc method for getting the txids for an address.
2016-06-02 12:15:13 -04:00
Wladimir J. van der Laan
834aaef7bd
Merge #7543 : [0.12] Backport BIP9, BIP68 and BIP112 with softfork
...
640666b
[qa] rpc-tests: Properly use integers, floats (BtcDrak)
c270b62
Fix comments in tests (BtcDrak)
caf1381
Add bip68-sequence.py to extended rpc tests (BtcDrak)
26e9a05
Test of BIP9 fork activation of mtp, csv, sequence_lock (NicolasDorier)
3a99feb
Add RPC test for BIP 68/112/113 soft fork. (Alex Morcos)
159ee3d
Policy: allow transaction version 2 relay policy. (BtcDrak)
9713ed3
Soft fork logic for BIP68 (BtcDrak)
648be9b
Soft fork logic for BIP113 (BtcDrak)
ee40924
Add CHECKSEQUENCEVERIFY softfork through BIP9 (Pieter Wuille)
6ff0b9f
RPC test for BIP9 warning logic (Suhas Daftuar)
0710b30
Test versionbits deployments (Suhas Daftuar)
8ebc6f2
Add testing of ComputeBlockVersion (Suhas Daftuar)
0bdaacd
Softfork status report in RPC (Pieter Wuille)
5f90d4e
Versionbits tests (Pieter Wuille)
6f83cf2
BIP9 Implementation (Pieter Wuille)
ade85e1
Add LockPoints (Alex Morcos)
c8d309e
Code style fix. (BtcDrak)
6170506
Separate CheckLockTime() and CheckSequence() logic (BtcDrak)
c0c5e09
BIP112: Implement CHECKSEQUENCEVERIFY (Mark Friedenbach)
197c376
fix sdaftuar's nits again (Alex Morcos)
0a79c04
Bug fix to RPC test (Alex Morcos)
0d09af7
Add RPC test exercising BIP68 (mempool only) (Suhas Daftuar)
15ba08c
Implement SequenceLocks functions (Alex Morcos)
2016-04-04 13:08:29 +02:00
BtcDrak
869262605f
Disable bad chain alerts
...
Continuous false positives lead to them being ignored entirely
so it's better to disable now until this can be fixed more
thoroughly.
2016-03-31 20:50:54 +01:00
Jonas Schnelli
597494f5a9
Remove openssl info from init/log and from Qt debug window
...
Conflicts:
src/init.cpp
Github-Merge: #7605
Rebased-From: 5ecfa36fd0
2016-03-24 12:09:23 +01:00
Pieter Wuille
6f83cf2adb
BIP9 Implementation
...
Inspired by former implementations by Eric Lombrozo and Rusty Russell, and
based on code by Jorge Timon.
2016-03-18 09:14:52 +00:00
Wladimir J. van der Laan
c76bfff11e
Merge #7440 : [0.12] Rename permitrbf to mempoolreplacement and provide minimal string-list forward compatibility
...
af9f564
release-notes: Update for replacebyfee->mempoolreplacement rename (Luke Dashjr)
4ad418b
Rename replacebyfee=opt-in to mempoolreplacement=fee (Luke Dashjr)
b2287a7
release-notes: Update for permitrbf->replacebyfee rename (Luke Dashjr)
5f456a6
Simplify check for replacebyfee=opt-in (Luke Dashjr)
e8d19ab
Accept replacebyfee=opt-in for turning on opt-in RBF (Luke Dashjr)
1205f87
Rename permitrbf to replacebyfee (Luke Dashjr)
2016-02-03 10:30:10 +01:00
Luke Dashjr
4ad418bc9b
Rename replacebyfee=opt-in to mempoolreplacement=fee
2016-02-01 19:31:36 +00:00
Gregory Maxwell
86755bc85a
Add whitelistforcerelay to control forced relaying. [ #7099 redux]
...
- 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.
- Blacklist -whitelistalwaysrelay; replaced by -whitelistrelay.
Github-Pull: #7439
Rebased-From: 325c725fb6
89d113e02a
2016-02-01 14:15:40 +01:00
Luke Dashjr
5f456a6546
Simplify check for replacebyfee=opt-in
2016-01-29 01:31:55 +00:00
Luke Dashjr
e8d19ab79f
Accept replacebyfee=opt-in for turning on opt-in RBF
...
Basic forward-compatibility with more flexible parameters like fss
2016-01-29 01:31:52 +00:00
Luke Dashjr
1205f87d36
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.
2016-01-29 01:31:33 +00:00
Wladimir J. van der Laan
b16b5bc191
Merge #7371 : [0.12] backports
...
236686b
[init] Add missing help for args (MarcoFalke)
44438a1
[init] Fix error message of maxtxfee invalid amount (MarcoFalke)
a74fa1f
[Wallet] Transaction View: LastMonth calculation fixed (crowning-)
2016-01-22 11:41:04 +01:00
Wladimir J. van der Laan
da83ecd454
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.
Conflicts:
src/init.cpp
src/main.cpp
src/main.h
Github-Pull: #7386
Rebased-From: b768108d9c
2016-01-21 12:38:52 +01:00
MarcoFalke
236686b844
[init] Add missing help for args
...
Github-Pull: #7290
Rebased-From: fa6ab96799
faa572a329
fa461df685
2016-01-18 14:24:07 +01:00
MarcoFalke
44438a192a
[init] Fix error message of maxtxfee invalid amount
...
Github-Pull: #7290
Rebased-From: fac11ea310
2016-01-18 14:18:49 +01:00
Alex Morcos
a36d79bfe2
Add sane fallback for fee estimation
...
- Always respect GetRequiredFee for wallet txs
- Add sane fallback for fee estimation
- SQUASHME: Fix rpc tests that assumed fallback to minRelayTxFee
Add new commandline option "-fallbackfee" to use when fee estimation does not have sufficient data.
Github-Pull: #7296
Rebased-From: 995b9f3
e420a1b
bebe58b
2016-01-13 11:06:17 +01:00
Luke Dashjr
5b144b7113
Merge branch bytespersigop
2016-01-09 17:02:35 +00:00
MarcoFalke
333e1eaeea
Bump copyright headers to 2015
...
- Bump copyright headers to 2015
- [devtools] Rewrite fix-copyright-headers.py
- [devtools] Use git pretty-format for year parsing
Github-Pull: #7205
Rebased-From: fa6ad855e9
fa24439ff3
fa71669452
2016-01-05 14:13:33 +01:00
Luke Dashjr
45b8e278fb
-bytespersigop option to additionally limit sigops in transactions we relay and mine
2015-12-01 20:57:08 +00:00
Luke Dashjr
02354c93be
Constrain rpcport default values to a single location in code
2015-12-01 10:18:18 +00:00
Wladimir J. van der Laan
8f761e87c3
Merge pull request #7136
...
fa19a58
HelpMessage: Don't hide -mintxfee behind showDebug (MarcoFalke)
faffc17
rpcwallet: Clarify what settxfee does (MarcoFalke)
9999cb0
Fix url in .travis.yml (MarcoFalke)
fa22a10
contrib: Del. gitian downloader config and update gitian README (MarcoFalke)
fad3035
[doc] Minor markdown fixes (MarcoFalke)
2015-12-01 10:23:05 +01:00
Gregory Maxwell
438ee59839
Merge pull request #7044
...
d52fbf0
Added additional config option for multiple RPC users. (Gregory Sanders)
2015-11-30 12:25:28 -08:00
MarcoFalke
fa19a588b9
HelpMessage: Don't hide -mintxfee behind showDebug
2015-11-30 18:02:12 +01:00
Wladimir J. van der Laan
9b8fc6c89a
Merge pull request #7035
...
4531fc4
torcontrol: only output disconnect if -debug=tor (Daniel Cousens)
2015-11-30 14:20:22 +01:00
Wladimir J. van der Laan
96b802510d
Merge pull request #7112
...
9af5f9c
Move uiInterface.NotifyBlockTip signal above the core/wallet signal - This will keep getbestblockhash more in sync with blocknotify callbacks (Jonas Schnelli)
4082e46
[Qt] call GuessVerificationProgress synchronous during core signal, pass double over UI signal (Jonas Schnelli)
947d20b
[Qt] reduce cs_main in getVerificationProgress() (Jonas Schnelli)
e6d50fc
[Qt] update block tip (height and date) without locking cs_main, update always (each block) (Jonas Schnelli)
012fc91
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 (Jonas Schnelli)
2015-11-30 13:04:29 +01:00
Daniel Cousens
4531fc4272
torcontrol: only output disconnect if -debug=tor
2015-11-30 22:20:43 +11:00
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
2015-11-30 08:50:59 +01:00
Gregory Sanders
d52fbf00e3
Added additional config option for multiple RPC users.
2015-11-29 08:34:20 -05:00
MarcoFalke
fa4b627269
Move blocksonly parameter interaction to InitParameterInteraction()
2015-11-28 22:26:50 +01:00
MarcoFalke
fa41d4c8c6
[qt] Move GUI related HelpMessage() part downstream
2015-11-28 19:01:26 +01:00
MarcoFalke
faf93f37fe
[trivial] Reuse translation and cleanup DEFAULT_* values
...
* DEFAULT_DISABLE_SAFEMODE = false
* Use DEFAULT_* constants for extern bools
2015-11-28 19:01:11 +01:00
Luke Dashjr
3307bdb333
Bugfix: Omit wallet-related options from -help when wallet is not supported
2015-11-28 18:47:29 +01:00
Luke Dashjr
b966aa836a
Constrain constant values to a single location in code
2015-11-28 18:47:29 +01:00
paveljanik
a64d7b4e42
Print correct minimum mempool size in MB
2015-11-27 16:44:30 +01:00
Wladimir J. van der Laan
9502b7f634
Merge pull request #7083
...
faf12bc
OpenSSL 1.1.0: Fix text variant of the version number (MarcoFalke)
2015-11-27 14:08:40 +01:00
Wladimir J. van der Laan
2a94cd67e8
Merge pull request #6780
...
a46f87f
Initialize logging before we do parameter interaction (Jonas Schnelli)
df66147
Move -blocksonly parameter interaction to the new ParameterInteraction() function (Jonas Schnelli)
68354e7
[QT] Call inits parameter interaction before we create the options model (Jonas Schnelli)
411b05a
Refactor parameter interaction, call it before AppInit2() (Jonas Schnelli)
2015-11-27 13:45:14 +01:00
Wladimir J. van der Laan
5ca149a3db
Merge pull request #7053
...
2e29e7e
Globals: Remove a bunch of Params() calls from main.cpp: (Jorge Timón)
2015-11-27 13:29:54 +01:00
Jonas Schnelli
a46f87f0c1
Initialize logging before we do parameter interaction
2015-11-27 13:26:28 +01:00
Jonas Schnelli
df66147613
Move -blocksonly parameter interaction to the new ParameterInteraction() function
2015-11-27 13:26:28 +01:00
Jonas Schnelli
411b05ac95
Refactor parameter interaction, call it before AppInit2()
2015-11-27 13:26:00 +01:00
Wladimir J. van der Laan
9a3e1a59df
Merge pull request #7058
...
ffacd27
zmq: prepend zmq to debug messages (Daniel Cousens)
14075b1
init: add zmq to debug categories (Daniel Cousens)
cdcd816
init: amend ZMQ flag names (Daniel Cousens)
2015-11-27 10:12:43 +01:00
Wladimir J. van der Laan
f8a8e27a6a
Merge pull request #7069
...
fa472f3
[trivial] Fix -maxmempool InitError (MarcoFalke)
2015-11-26 11:18:31 +01:00
Wladimir J. van der Laan
be281d8a83
Merge pull request #7087
...
9cf6688
Document both the peerbloomfilters and enforcenodebloom options. (Patick Strateman)
0f4dc53
Add enforcenodebloom option. (Patick Strateman)
b3caa9b
Move bloom filter filtering logic outside of command "switch" (giant if/else). (Patick Strateman)
2015-11-26 08:43:21 +01:00
Jonas Schnelli
26af1ac7cb
Merge pull request #7006
...
f71bfef
add UI help for -resetguisettings (Jonas Schnelli)
ae98388
[Qt] add startup option to reset Qt settings (Jonas Schnelli)
2015-11-25 09:05:19 +01:00
MarcoFalke
fa472f330f
[trivial] Fix -maxmempool InitError
2015-11-24 12:40:59 +01:00
Patick Strateman
9cf668844e
Document both the peerbloomfilters and enforcenodebloom options.
2015-11-24 02:08:00 -08:00
MarcoFalke
faf12bc283
OpenSSL 1.1.0: Fix text variant of the version number
2015-11-24 09:07:26 +01:00
Jorge Timón
2e29e7e247
Globals: Remove a bunch of Params() calls from main.cpp:
...
1) Chainparams: Explicit CChainParams arg for main:
-AcceptBlock
-AcceptBlockHeader
-ActivateBestChain
-ConnectTip
-InitBlockIndex
-LoadExternalBlockFile
-VerifyDB parametric constructor
2) Also pickup more Params()\. in main.cpp
3) Pass nPruneAfterHeight explicitly to new FindFilesToPrune() in main.cpp
2015-11-23 12:14:40 +01:00
Daniel Cousens
14075b189d
init: add zmq to debug categories
2015-11-19 13:17:36 +11:00