UdjinM6
5945b7053e
Merge #885 : Fix mnconflock
...
fd5cca7 Fix mnconflock - could lock spent input if it still was in masternode.conf which makes no sense and looks confusing
2016-06-13 08:39:34 +02:00
crowning-
ee830eef06
Merge #822 : [Core]: fix restart hanging during wallet-repair
...
37a934c [Core]: fix restart hanging during wallet-repair
2016-06-05 07:10:41 +02:00
Braydon Fuller
e3d9207e5a
main: add spentindex option
2016-06-02 12:15:37 -04:00
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
UdjinM6
4d55bc9666
Cleanup/maintenance ( #830 )
...
* remove instance references inside own class
* better logging
* remove unused
* fix tabs/spaces
* bitcoin->dash
* fix README.md
2016-05-30 08:22:30 +02:00
UdjinM6
9745914c15
remove hardcoded strDarksendPoolDummyAddress
( #828 )
...
- use "" account address instead
- remove `collateralPubKey` and `SetCollateralAddress()` from darksend and create `dummyScriptPubkey` and `InitDummyScriptPubkey()` in masternodeman instead
- initialize `dummyScriptPubkey` before loading cache otherwise MNs could be removed because of the invalid tx
2016-05-30 08:22:08 +02:00
Evan Duffield
7f52065c38
Merge pull request #806 from evan82/v0.12.1.x-sync-process-2
...
V0.12.1.x Sync Processing
2016-05-25 14:47:13 -07:00
crowning-
7ee810d3b6
[UI] Rebranding: PrivateSend/InstantSend (update 2) ( #804 )
...
* [UI] Rebranding: PrivateSend/InstantSend (update 2)
* [UI] Changed name of sendtoaddress parameters: use_ix -> use_is and use_ds -> use_ps
2016-05-25 07:25:16 +02:00
Evan Duffield
49ad98d1f3
cleanup
2016-05-24 11:29:23 -07:00
Evan Duffield
49b8123ae1
commenting out part of flatfile.dump, which is causing data corruption
2016-05-19 14:27:09 -07:00
Evan Duffield
e0a4c6ec19
Merge pull request #760 from crowning-/UI_Enhancements
...
[UI] Rebranding: Darksend/InstantX changed to PrivateSend/InstantSend (UI+log)
2016-05-09 13:54:21 -07:00
crowning-
243067c0ee
[UI] Rebranding: Darksend/InstantX changed to PrivateSend/InstantSend
2016-05-09 21:08:13 +02:00
Patrick Strateman
a5bc6a1bc4
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.
Github-Pull: #7553
Rebased-From: 110b62f06992d0fb989153afff2dc3aea62a674f
2016-04-27 22:34:48 +02:00
Evan Duffield
d9d72dd7af
enable governance cache
2016-04-26 10:48:09 -07:00
Evan Duffield
3fe02f4777
any help?
2016-04-25 21:08:36 -07:00
Evan Duffield
fe5c4dd811
Converting governance system
...
- Generic usage of governance objects
- Added different voting types of signaling
- Removed budget commands (projection, mesc -- see sentinel https://github.com/evan82/sentinel/blob/master/docs/example4.md )
- Added various voting signaling mechanisms (origin funding, remove, valid, endorsed, milestones, outerstorage)
2016-04-19 09:51:15 -07:00
crowning-
e44dab084a
[UI] Darksend changed to PrivacyProtect (UI+log)
2016-04-18 23:46:51 +02:00
Evan Duffield
6a68aea461
cleanup
2016-04-14 19:54:11 -07:00
Evan Duffield
b5476ca60a
progress
2016-04-14 11:53:46 -07:00
UdjinM6
30dc6f4c97
fix flat database compiling
2016-04-13 10:53:13 -07:00
Evan Duffield
3c42774eb7
more progress spliting up the clasess
2016-04-10 07:46:19 -07:00
Evan Duffield
ebaee8f083
moved serialdb to template based class
2016-04-09 23:31:32 -07:00
evan82
3ffecb74d0
Merge pull request #750 from UdjinM6/debugfixes
...
Few debug related fixes
2016-04-05 10:51:31 -07: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
UdjinM6
981efed749
Few debug related fixes
...
- make logthreadnames work correctly without logtimestamps (and with emty strings again)
- fix crash in debug (it3)
- log debug info about locks in one line
- show actual DS rounds instead of n/a in coin control while in debug mode
- fix initial string in debug.log: "Bitcoin version" -> "Dash version"
2016-03-25 16:41:11 +03:00
UdjinM6
00915ca31a
Fix IX (locks arrive faster then the lock request itself) and add ixnotify to trigger external script
2016-03-24 19:05:44 +03:00
Jonas Schnelli
597494f5a9
Remove openssl info from init/log and from Qt debug window
...
Conflicts:
src/init.cpp
Github-Merge: #7605
Rebased-From: 5ecfa36fd01fc27475abbfcd53b4efb9da4a7398
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
UdjinM6
a7fd7821e9
Add "-logthreadnames" cmd-line option to add thread names to debug messages
2016-03-16 07:46:29 +01:00
UdjinM6
cadfa233a0
remove stdout debug spam
2016-03-07 12:18:48 +01:00
UdjinM6
8e560080a1
Fix comments, remove ._str()
from LogPrintf
s, few trivial changes
2016-03-06 18:21:06 +01:00
UdjinM6
3cf048d01c
Fix initial call of UpdatedBlockTip
...
Closes #718
2016-03-06 18:15:08 +01:00
UdjinM6
a611fc3b1b
Introduce CDSNotificationInterface - validation interface to listen to tip updates and trigger updates in DS, payments and budgets. Should significantly reduce number of references to chainActive.Tip() i.e.we should have less cs_main in dash-darksend thread and potential deadlocks.
2016-03-04 12:10:37 +03:00
Evan Duffield
9a52925d5c
fixed messages
2016-03-03 07:00:34 -07:00
UdjinM6
a4aef837bd
Merge remote-tracking branch 'origin/v0.12.1.x' into mergebtc0.12 + fix
2016-02-16 03:17:25 +03:00
UdjinM6
832e7505dd
Merge remote-tracking branch 'bitcoin/0.12' into mergebtc0.12
...
+ fix AcceptToMemoryPool fDryRun for mnb
2016-02-06 18:53:20 +03:00
UdjinM6
a5ac60b868
Merge remote-tracking branch 'bitcoin/0.12' into HEAD
...
+ merge fixes
+ keepass on evhttp
2016-02-06 16:48:04 +03:00
Evan Duffield
83f87b0f2d
merged
2016-02-04 12:39:53 -07:00
Evan Duffield
eeb53b9682
Vastly faster syncing process / small budget system changes
...
- Syncing process is now event based, rather than timeout based. This means the system can tell when it's done with each step and moves on between phases much faster. In initial testing it seems to be about 10-15x faster and has synced everytime successfully.
- Please remove print debugging when the syncing system is proven to be debugged.
2016-02-04 12:29:09 -07: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: 325c725fb6205e38142914acb9ed1733d8482d46 89d113e02a83617b4e971c160d47551476dacc71
2016-02-01 14:15:40 +01:00
UdjinM6
bbbbdd8100
more darkcoin->dash
...
Closes #690
2016-02-01 10:31:06 +01:00
UdjinM6
e2aaf09700
Cleanup
...
- lower unobvious dependency through header files, move few includes to the right places
- some trivial code cleanup
Closes #680
2016-01-31 12:08:45 +01:00
UdjinM6
93279e7944
expose fPrintToDebugLog to cmd-line as -printtodebuglog option
...
Closes #679
2016-01-31 11:48:37 +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: b768108d9c0b83330572711aef1e569543130d5e
2016-01-21 12:38:52 +01:00
MarcoFalke
236686b844
[init] Add missing help for args
...
Github-Pull: #7290
Rebased-From: fa6ab96799f9d7946200fb646fefe35c6daab9b2 faa572a3296c0955dcb2cc0bd9b925c2a31e7892 fa461df685063e6b12664fe6928362484f690f01
2016-01-18 14:24:07 +01:00
MarcoFalke
44438a192a
[init] Fix error message of maxtxfee invalid amount
...
Github-Pull: #7290
Rebased-From: fac11ea3106ff29ec884dfe9d9b287fd1beda5fc
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
evan82
54deb1e75b
Merge pull request #650 from dashpay/v0.12.0.x
...
merge missing commits from V0.12.0.x
2016-01-05 10:39:39 -07: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: fa6ad855e9159b2247da4fa0054f32fa181499ab fa24439ff3d8ab5b9efaf66ef4dae6713b88cb35 fa71669452e57039e4270fd2b33a0e0e1635b813
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
UdjinM6
4049946625
init params:
...
- use defaults in cmd line args/help
- make liquidity provider param interaction more verbose
- allow to override UI restrictions (rounds/amount) from cmd line
2015-11-20 20:12:11 +03:00
Daniel Cousens
14075b189d
init: add zmq to debug categories
2015-11-19 13:17:36 +11:00
Daniel Cousens
cdcd816a1b
init: amend ZMQ flag names
2015-11-19 12:34:19 +11:00
Jonas Schnelli
f71bfefcb0
add UI help for -resetguisettings
2015-11-18 21:50:32 +01:00
Gregory Maxwell
87ee0e2dbc
Merge pull request #6986
...
6bc9e40
Chainparams: Explicit CChainParams arg for miner: (Jorge Timón)
598e494
Chainparams: Explicit CChainParams arg for main (pre miner): (Jorge Timón)
2015-11-16 17:00:11 -08:00
Pieter Wuille
6e18268616
Switch to libsecp256k1-based validation for ECDSA
2015-11-15 16:06:57 +01:00
Patick Strateman
bbf49da408
Fix comment for blocksonly parameter interactions
2015-11-14 05:14:01 -08:00
Patick Strateman
59441a0445
Display DEFAULT_WHITELISTALWAYSRELAY in help text
2015-11-14 05:12:05 -08:00
Patick Strateman
71a2683f4b
Use DEFAULT_BLOCKSONLY and DEFAULT_WHITELISTALWAYSRELAY constants
2015-11-14 05:10:59 -08:00
Patick Strateman
762b13b4d8
Add help text for blocksonly and whitelistalwaysrelay
2015-11-14 04:54:01 -08:00
Patick Strateman
3a964973fe
Add whitelistalwaysrelay option
2015-11-14 04:52:21 -08:00
Gregory Maxwell
dbd2c135dd
Merge pull request #6990
...
a264c32
http: speed up shutdown (Wladimir J. van der Laan)
2015-11-13 11:30:00 -08:00