UdjinM6
f679e24316
Refactor IX/DSTX messages handling:
...
- Fix CreateTransaction and GetDepthInMainChain for IX compatibility
- Prepare IsIXTXValid for the next update (see FIXME in CreateTransaction)
- Unify processing of TX/IX/DSTX a bit more
- Clean up some code
2016-03-22 02:24:36 +03:00
TheLazieR Yip
91b2546d8b
Update .travis.yml to use travis's container based with public cache directories
...
- Remove sudo: required
- Use addons to install apt packages
- Use pip to install pyzmq
- Use wine package from precise, so running windows binary for test need to call via wine.
Closes #743
2016-03-17 13:47:25 +01:00
Luv Khemani
4ce2b0214b
Add autocomplete to bitcoin-qt's console window.
...
Removed externs
Added listCommands() to CRPCTable
Move autocomplete init to RPCConsole::setClientModel()
Closes #742
2016-03-17 08:39:05 +01:00
UdjinM6
eaf57b3fb7
Implemented masternodebroadcast
...
This set of rpc commands provide an ability to create masternode broadcast messages offline
and relay them from online node later (messages expire in ~1 hour).
Arguments:
1. command (string or set of strings, required) The command to execute
2. passphrase (string, optional) The wallet passphrase
Available commands:
create-alias - Create single remote masternode broadcast message by assigned alias configured in masternode.conf
create-all - Create remote masternode broadcast messages for all masternodes configured in masternode.conf
decode - Decode masternode broadcast message
relay - Relay masternode broadcast message to the network
Closes #741
2016-03-17 08:29:53 +01:00
UdjinM6
f39bc3b3cb
Bump DEFAULT_TRANSACTION_MAXFEE
...
Should be smth like "smallest DS denomination (0.10000100)" + X * "denom tails"
to avoid triggering "absurd fee" error.
I think that 0.2 i.e. having 100 of 100s "tails" (or 1000 of 10s etc) should be enough.
Closes #737
2016-03-16 07:52:37 +01:00
UdjinM6
6f301d9a63
Fix unlock for sending txes from qt dialog
...
Closes #736
2016-03-16 07:51:17 +01:00
UdjinM6
4249b28230
Throw a bit more specific rpcerrors (error codes should be more granular/meaningful now), add missing fields, unify naming
...
Closes #735
2016-03-16 07:50:50 +01:00
UdjinM6
d406324573
Add options for getchaintips
2016-03-16 07:50:06 +01:00
UdjinM6
ddbeda357e
fix docs (mostly for budgets)
...
Closes #734
2016-03-16 07:49:51 +01:00
UdjinM6
38f386ae1c
Few small changes: - Better log output (a bit more granular for mnb, fixing "\n"s and few other small issues) - Unify variable/class members naming a bit
...
Closes #733
2016-03-16 07:48:37 +01:00
UdjinM6
2fc05e5b9d
Add ability to change debug category on the fly from console
...
NOTE: Before switching to another debug catgory you'd need to turn debugging off via "debug 0"
and wait a bit (each thread (de)activates debug mode on its own)
2016-03-16 07:46:35 +01:00
UdjinM6
a7fd7821e9
Add "-logthreadnames" cmd-line option to add thread names to debug messages
2016-03-16 07:46:29 +01:00
UdjinM6
e0c4dd0129
Fix crash in CheckAndRemove
...
Closes #732
2016-03-14 14:27:20 +01:00
UdjinM6
c872091296
Fix NetMsgType::DSCOMPLETE usage
...
Closes #731
2016-03-14 11:39:25 +01:00
UdjinM6
5d42a372cf
Fix CBudgetProposal::GetRemainingPaymentCount()
...
Closes #729
2016-03-09 07:23:20 +01:00
UdjinM6
04efdd1150
Fix mn sync: - reset lasttime* right before switching to next asset - adjust target block count by 1.2 coeff - lower MASTERNODE_SYNC_TIMEOUT 120 -> 30
...
Closes #728
2016-03-09 07:22:54 +01:00
UdjinM6
eeb4e9c11a
Always clean ds queue
...
Closes #727
2016-03-09 07:22:17 +01:00
UdjinM6
1b41f851bf
Fix CBudgetManager::CheckAndRemove() endless loop
...
Closes #726
2016-03-09 07:21:56 +01:00
UdjinM6
618c27a99d
RPC changes
...
- add filter to `masternode winners`
- allow `masternode debug` right after blockchain is synced
- fix `masternode current`
- fix getpoolinfo, add ds queue size to output
Closes #725
2016-03-09 07:21:21 +01:00
TheLazieR Yip
d401d64281
Clean duplicated params setting for test network.
...
Closes #724
2016-03-09 07:18:59 +01:00
UdjinM6
9d151c25dd
Use chainActive.Tip() in FillBlockPayee functions Turned out that pCurrentBlockIndex is an overkill here, we should just make sure that cs_main lock is already held for us.
...
Closes #723
2016-03-07 12:19:53 +01:00
UdjinM6
cadfa233a0
remove stdout debug spam
2016-03-07 12:18:48 +01:00
UdjinM6
6f5a9c10fc
fix src/test/data
2016-03-07 12:18:47 +01:00
UdjinM6
5a198a25dc
fix travis - install dash_hash
2016-03-07 12:18:47 +01:00
Luke Dashjr
aef1009293
Bugfix: gitian: Add curl to packages (now needed for depends)
...
Github-Pull: #7614
Rebased-From: 5c70a6d6d1
2016-03-07 12:18:46 +01:00
MarcoFalke
0dfc9e71b0
builders: No need to set -L and --location for curl
...
Github-Pull: #7606
Rebased-From: fa7a5c54fc
2016-03-07 12:18:17 +01:00
Luke Dashjr
3c36bcf532
Workaround Travis-side CI issues
...
Github-Pull: #7487
Rebased-From: 149641e8fc
c01f08db12
5d1148cb79
1ecbb3b0f7
2016-03-07 12:18:16 +01:00
Wladimir J. van der Laan
8acabef3f3
doc: Clean out release notes
...
0.12.0 was released, prepare empty release notes for 0.12.1.
2016-03-07 12:17:02 +01:00
TheLazieR Yip
8675ce1929
Check New MasterNodeBroadcast Time
...
Closes #722
2016-03-07 12:00:29 +01:00
UdjinM6
18afe88401
Check vote time internally
...
Closes #721
2016-03-06 18:23:26 +01:00
UdjinM6
a2c6140cb1
more bitcoin -> dash
...
Closes #712
2016-03-06 18:21:29 +01:00
UdjinM6
8e560080a1
Fix comments, remove ._str()
from LogPrintf
s, few trivial changes
2016-03-06 18:21:06 +01:00
UdjinM6
31ff9c2ff8
Fix rpc-tests, relies on PRs #715-#719
...
Closes #720
2016-03-06 18:16:02 +01:00
UdjinM6
b682fcb8d6
Fix GetBlockSubsidy for regtest, bump regtest settings
...
Closes #719
2016-03-06 18:15:33 +01:00
UdjinM6
3cf048d01c
Fix initial call of UpdatedBlockTip
...
Closes #718
2016-03-06 18:15:08 +01:00
UdjinM6
af1c321d16
Fix block reward verification
...
Closes #717
2016-03-06 18:14:42 +01:00
UdjinM6
4474de8573
Fix nChangePosRet in CreateTransaction
...
Closes #716
2016-03-06 18:14:16 +01:00
UdjinM6
c40fccce9a
Only allow block to pass as a budget superblock if it came at or after Params().GetConsensus().nBudgetPaymentsStartBlock
...
Closes #715
2016-03-06 18:13:48 +01:00
evan82
b0064145db
Merge pull request #701 from UdjinM6/logoIcon
...
Make Dash logo (app icon) theme-independent
2016-03-04 07:16:38 -07:00
evan82
3d4c56c19e
Merge pull request #714 from UdjinM6/btcdash_
...
more bitcoin -> dash
2016-03-04 07:14:06 -07:00
evan82
20c10c91f1
Merge pull request #710 from UdjinM6/locks
...
"Fix locks" Pack
2016-03-04 07:05:04 -07:00
UdjinM6
e8df74a18e
fix miner_tests
...
(only in part related to this commit, for most miner_tests fixes see 124178b
)
2016-03-04 12:10:37 +03: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
UdjinM6
67cd10c87d
Add some locks to protect chainActive.Tip() and mapBlockIndex
...
(fixing only few of them here, see next commit for further changes)
2016-03-04 12:10:37 +03:00
UdjinM6
95dab0b541
Remove unnecessary locks and chainActive.Tip() references
2016-03-04 12:10:37 +03:00
UdjinM6
b3d1140800
more bitcoin->dash
2016-03-04 12:09:03 +03:00
UdjinM6
3ad675aadb
Fix tests
...
Closes #711
2016-03-04 06:52:57 +01:00
Evan Duffield
9a52925d5c
fixed messages
2016-03-03 07:00:34 -07:00
Evan Duffield
e0021f08af
Merge branch 'v0.12.1.x' of http://www.github.com/dashpay/dash into v0.12.1.x
2016-03-03 06:59:23 -07:00
Evan Duffield
89ff8a6d7e
merged and fixed messages
2016-03-03 06:55:32 -07:00