Holger Schinzel
feabb140a3
Merge pull request #772 from UdjinM6/fixTests
...
Fix tests
2016-05-10 19:39:08 +02:00
TheLazieR Yip
56adee2de2
Fix Hot Masternode
...
Revert to master branch
2016-05-10 21:53:08 +07:00
UdjinM6
a4c098141a
fix tests to follow #767
2016-05-10 16:12:21 +03:00
Evan Duffield
0c6c21f099
Merge pull request #768 from UdjinM6/unifySubsidy
...
Unify subsidy formulas for different networks, add few comments
2016-05-10 06:11:17 -07:00
Holger Schinzel
8a03d1630d
Merge pull request #770 from crowning-/patch-5
...
[UI] Rebranding: PrivateSend/InstantSend (update)
2016-05-10 13:36:02 +02:00
UdjinM6
b9ad319d00
Unify subsidy formulas for different networks, add few comments
2016-05-10 12:50:57 +03:00
Holger Schinzel
05661617a6
Some houskeeping:
...
- fixed testnet checkpoints
- revert testnet mining patch
2016-05-10 09:57:05 +02:00
crowning-
5091ac939b
[UI] Rebranding: PrivateSend/InstantSend (update)
...
Accidentally overwrote my final version locally, so the change of the (unfortunately most prominent) InstantX label on the sendcoins page got lost.
Sorry :-/
2016-05-10 05:39:36 +02:00
Holger Schinzel
d61edf8452
Remove log spam
2016-05-10 00:28:36 +02: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
Evan Duffield
bfaa5b6970
Merge pull request #761 from UdjinM6/fixStyling
...
Assign app name in NetworkStyle::NetworkStyle()
2016-05-09 13:52:37 -07:00
Evan Duffield
684994ca4e
Merge pull request #764 from crowning-/UI_Icons
...
[UI] Some standard Bitcoin icons beautified
2016-05-09 13:51:33 -07:00
Evan Duffield
f13b9ad418
Merge pull request #767 from moocowmoo/v0.12.1.x
...
config - changed network bip32 values, testnet/regtest pubkey
2016-05-09 13:51:03 -07:00
Evan Duffield
736d22262f
fixed mining
2016-05-09 12:51:23 -07:00
moocowmoo
c5004ce308
config - changed network bip32 values, testnet/regtest pubkey
...
mainnet bip32 seeds start with dpub/dprv
testnet/regtest bip32 seeds start with DPUB/DPRV
only create public testnet/regtest addresses starting with y
2016-05-09 19:13:22 +00:00
crowning-
243067c0ee
[UI] Rebranding: Darksend/InstantX changed to PrivateSend/InstantSend
2016-05-09 21:08:13 +02:00
Evan Duffield
60e048071f
added budget item func
2016-05-09 09:31:11 -07:00
Evan Duffield
8c48d9dbb9
fixed endian issues
2016-05-09 08:58:17 -07:00
Evan Duffield
4caf64569f
merged
2016-05-09 08:39:31 -07:00
Evan Duffield
358be66084
reset testnet
2016-05-09 08:32:47 -07:00
Evan Duffield
9b7504cb32
Fix dumb errors on ubuntu
2016-05-06 18:36:11 -04:00
Evan Duffield
e6d7f4ed7f
fixing more errors
2016-05-05 10:44:46 -07:00
Evan Duffield
aee86618cd
fixed greedy find/replace (opps)
2016-05-05 10:30:28 -07:00
Evan Duffield
f2de437f05
mixed up actions/outcomes
2016-04-26 11:36:07 -07:00
Evan Duffield
7e742d2e7d
cleaned up couple bugs
2016-04-26 11:34:53 -07:00
Evan Duffield
ad5d48dae4
Created nice interface for converting between:
...
- vote outcomes between string and int
- vote actions between string and int
2016-04-26 11:27:22 -07:00
Evan Duffield
d9d72dd7af
enable governance cache
2016-04-26 10:48:09 -07:00
Evan Duffield
2df4059f4e
Fix masternode voting object
2016-04-26 10:45:06 -07:00
UdjinM6
26b8d99be2
fix CGovernanceObject step1.5: not really a fix, just commented out simple broken parts (undeclared vars and functions, wrong number of arguments etc) to prove that it compiles now, needs to be actually fixed
2016-04-26 10:31:14 -07:00
UdjinM6
71bdc09470
fix CGovernanceObject step1: make, copy constructor, uint256, rpc
2016-04-26 10:31:00 -07:00
Evan Duffield
3fe02f4777
any help?
2016-04-25 21:08:36 -07:00
crowning-
ddfc3e98f0
[UI] Obsolete icons (+references) removed
2016-04-24 23:03:27 +02:00
crowning-
d439375e3a
[UI] Some standard (old) Bitcoin icons beautified (comment removed)
2016-04-20 22:39:21 +02:00
crowning-
00266a876f
[UI] Some standard (old) Bitcoin icons beautified
2016-04-20 22:35:24 +02:00
crowning-
c755c45a93
[UI] Enable themed *.png icons again for Linux
...
Reference: my first comment here: https://github.com/dashpay/dash/pull/761
2016-04-20 17:35:53 +02:00
UdjinM6
b8109eb06b
Assign app name in NetworkStyle::NetworkStyle(), fixes splash screen
2016-04-20 17:03:22 +03:00
crowning-
67214d9971
[UI] Parts of PR612 re-added
2016-04-20 08:04:46 +02:00
Evan Duffield
421678ac1d
comment
2016-04-19 13:24:00 -07:00
Evan Duffield
73c430e4ca
merged
2016-04-19 13:22:04 -07:00
Evan Duffield
378582fce5
update vote types
2016-04-19 12:08:01 -07:00
crowning-
b61849c697
[UI] Rebranding: removed PrivacyProtect from mixing button
2016-04-19 20:49:19 +02: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
94f448d6fa
update gitignore
2016-04-16 17:29:41 -07:00
Evan Duffield
c981f296e1
update code to correctly use governance objects
2016-04-16 14:42:27 -07:00
Evan Duffield
59ddc0d71e
added dynamic registers
2016-04-16 10:19:17 -07:00
Evan Duffield
31d8a4d16f
clean up local mods
2016-04-15 09:39:33 -07:00
Evan Duffield
fe2b606f67
register notes
2016-04-15 02:10:38 -07:00
Evan Duffield
6a68aea461
cleanup
2016-04-14 19:54:11 -07:00
Evan Duffield
e37ef5b386
fixing more errors
2016-04-14 19:14:27 -07:00
Evan Duffield
59976f3ee1
fixing more issues
2016-04-14 14:28:33 -07:00
Evan Duffield
8f0f5343ce
added vote types and outcomes
2016-04-14 13:01:15 -07:00
Evan Duffield
b5476ca60a
progress
2016-04-14 11:53:46 -07:00
Evan Duffield
f69d282256
cleaning up errors
2016-04-14 11:07:59 -07:00
Evan Duffield
7f64ed42ae
clean up
2016-04-13 18:52:26 -07:00
Evan Duffield
3c8a3f6814
governance progress
2016-04-13 15:41:40 -07:00
UdjinM6
30dc6f4c97
fix flat database compiling
2016-04-13 10:53:13 -07:00
Evan Duffield
019eb07ac0
almost compiles
2016-04-12 09:00:19 -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
Evan Duffield
8a13bc5180
updating colateral algo
2016-04-09 17:43:15 -07:00
Evan Duffield
138511f879
splitting progress pt .
2016-04-09 13:55:52 -07:00
Evan Duffield
a89d3164f6
removed finalized budget functionality from governance.*
2016-04-09 13:31:01 -07:00
Evan Duffield
fe7946f9fa
preparing to split budgets and governance
2016-04-09 12:57:53 -07:00
Evan Duffield
7539ec3af8
move file
2016-04-09 12:02:02 -07:00
Evan Duffield
03938d3b02
move file
2016-04-09 12:01:05 -07:00
Evan Duffield
e99f0f170a
added new files
2016-04-09 10:17:17 -07:00
Evan Duffield
8b82271927
revert make file
2016-04-09 10:10:06 -07:00
Evan Duffield
dbd68e2341
init gov files
2016-04-08 10:47:00 -07:00
evan82
5fc47d4c7b
Merge pull request #752 from UdjinM6/fixAutocompleter
...
Clear the input line after activating autocomplete
2016-04-05 10:52:02 -07:00
evan82
abbfb0a6c9
Merge pull request #751 from UdjinM6/fixDS
...
Fix DS bugs
2016-04-05 10:51:38 -07:00
evan82
3ffecb74d0
Merge pull request #750 from UdjinM6/debugfixes
...
Few debug related fixes
2016-04-05 10:51:31 -07:00
Pavel Janík
ded163efd7
Clear the input line after activating autocomplete
2016-04-04 13:32:26 +03:00
UdjinM6
543296dddc
Fix DS:
...
- ds stuck once we reached DENOMS_COUNT_MAX and can't get any output at all, ignore DENOMS_COUNT_MAX if this happens
- parts of incomplete dstx (from each participant) can't get into mempool because of 0 fee, prioritize them
- refactor names to avoid potential conflicts (state -> validationState) and better readability (finalTransaction -> finalMutableTransaction)
2016-03-27 21:21:29 +03: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
evan82
dee72ad0cd
Merge pull request #746 from UdjinM6/refactorixdstx
...
Refactor IX/DSTX messages handling
2016-03-23 11:18:56 -07:00
UdjinM6
5e7496ee5e
More refactoring for IX:
...
- move ix internal logic out of CMerkleTx
- fix bug in GetInputAgeIX
2016-03-23 17:51:41 +03:00
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
UdjinM6
be9e2f1d4f
Fix GetHash() for CMasternodeBroadcast
2016-03-18 03:38:00 +03:00
UdjinM6
54096c30ec
Allow user to use 2 modes for masternodebroadcast:
...
- safe - process mnb as if it was received via network
- fast - skip most checks and relay
2016-03-18 02:37:48 +03:00
UdjinM6
c96284a787
Refactor masternodebroadcast
to serialize/decode/relay multiple masternodes at once
2016-03-17 20:39:17 +03: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
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
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
8e560080a1
Fix comments, remove ._str()
from LogPrintf
s, few trivial changes
2016-03-06 18:21:06 +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
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
UdjinM6
459472357f
connections icon click was not working
...
Closes #709
2016-03-02 12:57:45 +01:00
UdjinM6
581312ff90
Fix default fees
...
Closes #708
2016-03-02 12:56:19 +01:00
UdjinM6
8cb8772d95
bitcoin -> dash
2016-03-02 12:55:37 +01:00
UdjinM6
3736403985
Make sure there is only one instance of dash-darksend
thread
...
Closes #707
2016-03-02 12:55:27 +01:00
UdjinM6
5c2a0cc9ec
Fix bug that prevented new blocks to update tip during mixing
...
Closes #706
2016-03-02 12:54:46 +01:00
UdjinM6
c8ba8a1be5
fix testnet quickfix (or "one does not simply replace a bunch of divisions" because there is rounding at each step)
...
Closes #702
2016-02-27 09:29:38 +01:00
UdjinM6
eed3a48150
Make Dash logo (app icon) theme-independent
2016-02-25 07:14:08 +03:00
TheLazieR Yip
4fce2910b4
Fix icons/bitcoin.ico not found.
2016-02-24 13:14:08 +07:00
Holger Schinzel
296373b108
fix test suite
2016-02-23 11:10:41 +01:00
Holger Schinzel
b5165fcfb6
passing -fPIC flag to crypto_lib
2016-02-23 06:55:37 +01:00
Holger Schinzel
8b824323e7
passing -fPIC flag to crypto_lib
2016-02-23 05:10:33 +01:00
Holger Schinzel
3d95db8b7c
fixing Makefile.test.include
...
... Bitcoin 0.12 merging bug
2016-02-23 04:27:38 +01:00
UdjinM6
7fe88c24f9
clean fixed TODOs
2016-02-21 04:22:11 +03:00
UdjinM6
6ec64f8ff6
Merge remote-tracking branch 'bitcoin/0.12' into mergebtc0.12
2016-02-21 04:09:11 +03:00
UdjinM6
045877b93c
fix crash
2016-02-20 22:03:19 +03:00
UdjinM6
29b1af2bb1
quick fix for testnet - we reeeeally should restart it one day..
2016-02-19 21:11:44 +03:00
UdjinM6
b654a6a320
refactor sync progress ui to use signals, remove lock from masternode str ui
2016-02-19 21:09:54 +03:00
UdjinM6
06b6dce132
fix typo in GetNextWorkRequired
2016-02-19 21:08:30 +03:00
UdjinM6
f50d534440
fix nMaxTipAge
2016-02-19 07:59:22 +03:00
UdjinM6
c676748beb
Replace all hardcoded network message strings with NetMsgType:: constants, log unknown commands (net debug category only)
2016-02-19 07:59:00 +03:00
UdjinM6
e8d9aabb62
Move many hardcoded mainnet/testnet magic numbers to consensus part of chainparams,
...
get rid of most `if(Params().NetworkIDString() == CBaseChainParams::MAIN)` and alike to unify formulas.
Further improvements will require testnet restart (see TODO notes in changed code) so I'm keeping few things as they are till then.
2016-02-17 21:54:24 +03:00
UdjinM6
8ad088ab75
Add few more debug messages for masternode category
2016-02-17 21:53:55 +03:00
UdjinM6
6fc9b4c772
Replace hardcoded 9999 with Params(CBaseChainParams::MAIN).GetDefaultPort()
2016-02-17 21:52:37 +03: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
fcad1c26ec
fix peers subversion column width
2016-02-15 22:04:21 +03:00
UdjinM6
0d387900c5
Refactor tools menu signals/slots, add more shortcuts
2016-02-15 22:02:55 +03:00
UdjinM6
fd747bae01
Added note about GetBlockSubsidy using previous height, changed var names accordingly
2016-02-15 17:01:16 +03:00
UdjinM6
8092c84694
fix consensus.nSubsidyHalvingInterval (210000 -> 210240) and ConnectBlock
2016-02-15 16:40:35 +03:00
crowning-
1f70fb3c04
Fix crash in validateaddress with -disablewallet
...
Closes #696
2016-02-15 14:13:02 +01:00
crowning-
cfc8cc2fe5
dseg shouldn't be send for local addresses
...
Closes #695
2016-02-15 14:06:47 +01:00
Joseph Pentland
7a0354bb17
txmempool: Fix comparison between signed/unsigned int
...
Comparison between signed/unsigned int found in removeCoinbaseSpends
This commit is based on commit e617fe25
by Luke Dashjr in bitcoin.
Fixes: Dashpay github issue 540
Closes #694
2016-02-15 14:01:06 +01:00