Jonas Schnelli
7d226b7ca0
[QA] add testcases for parsing strings as values
2015-07-27 13:55:46 +02:00
Wladimir J. van der Laan
614601be8f
rpc: Accept strings in AmountFromValue
...
Accept strings containing decimal values, in addition to bare values.
Useful from JSON-RPC implementations where it's not possible to have
direct control over the text of numbers (e.g. where numbers are always
doubles), and it's still desired to send an exact value.
This would allow users to post JSON content with numbers encoded like
`{"value": "0.00000001"}` instead of `{"value": 0.00000001}` which some
php/python encoders wrap into 1e-8, or worse.
2015-07-27 13:55:46 +02:00
Wladimir J. van der Laan
d43297c5ba
Merge pull request #6468
...
6f8b6d3
don't try to decode invalid encoded ext keys (Jonas Schnelli)
8d2af54
extend bip32 tests to cover Base58c/CExtKey decode (Jonas Schnelli)
7cb1f9f
fix and extend CBitcoinExtKeyBase template (Jonas Schnelli)
2015-07-27 13:20:54 +02:00
Wladimir J. van der Laan
f6850d58f7
Merge pull request #6471
...
060b3d3
fixup: qt 5.5 snuck in another module that needs path hand-holding (Cory Fields)
ecd6a89
depends: make more qt flags explicit (Cory Fields)
ab67dd7
depends: bump to qt 5.5 (Cory Fields)
5189fe3
depends: split qt config options to separate lines (Jacob Welsh)
fe997df
build: fix building against qt5.4/5.5 (Cory Fields)
2015-07-27 12:28:42 +02:00
Cory Fields
060b3d377b
fixup: qt 5.5 snuck in another module that needs path hand-holding
2015-07-27 12:25:28 +02:00
Cory Fields
ecd6a89381
depends: make more qt flags explicit
2015-07-27 12:25:28 +02:00
Evan Duffield
7b480ac74d
Eliminate false positives for syncing process
2015-07-26 20:41:57 -07:00
Evan Duffield
597c2b299d
new masternode start strategy - only check blockchain sync status
2015-07-26 13:09:52 -07:00
Evan Duffield
d227f28621
allow masternodes to turn on pre-sync - udjin
2015-07-26 12:37:01 -07:00
crowning-
76c4cfc0de
UI: Limit display of Sendcoins-popup to 10 entries.
2015-07-26 18:43:22 +02:00
Evan Duffield
da21fed1f5
version bump
2015-07-26 07:36:40 -07:00
Evan Duffield
145c845d1f
Changed vote restrition model
...
- Masternodes can only vote once per hour now, instead of 100 times a day total
- UI reports back errors now
2015-07-26 07:01:49 -07:00
Evan Duffield
f82b34f3f2
better sorting algorithm
...
-- sort props by votes then nFeeHashTX
2015-07-26 05:26:15 -07:00
Evan Duffield
2b3edff435
Only relay good budget items
2015-07-25 21:23:38 -07:00
Evan Duffield
b04faf6e2d
Update lastPing in mapSeen obj, remove ping from CMasternode hash
2015-07-25 21:13:17 -07:00
Evan Duffield
04fc6e1fb4
Change rest of sync process to direct inv messages / reduced sync timeout
2015-07-25 20:17:53 -07:00
Evan Duffield
61becf2f11
directly send inv messages
2015-07-25 19:27:40 -07:00
Evan Duffield
c0a5dfba61
Masternode inv messages / save seen in mncache
2015-07-25 12:07:30 -07:00
Evan Duffield
43101ebeca
Implement planned hard forks, August 24, 2015
2015-07-25 11:02:38 -07:00
Evan Duffield
0b9d761a38
only take newest votes
2015-07-25 09:59:59 -07:00
Evan Duffield
8187228be1
Fixed budget syncing issues / forking issues / syncing issues
...
- Budgets now store the seen objects locally so they're not overwritten when saving/loading to check validity of budget.dat
- Added safer sync "failure" mode, that will retry an hour later if the sync fails for some reason. This will stop the client from thinking it has budget data and rejecting blocks when they're valid.
- protocol bump
- version bump
2015-07-25 09:29:29 -07:00
evan82
24183b156b
Merge pull request #456 from UdjinM6/v0.12.0.x_info_mn_count
...
V0.12.0.x more info for masternode count output/rpcconsole dialog
2015-07-25 06:32:41 -07:00
evan82
26b2c3243c
Merge pull request #455 from UdjinM6/v0.12.0.x_mnb_hash_lastPing
...
V0.12.0.x include lastPing in mnb hash calculation
2015-07-25 06:31:51 -07:00
UdjinM6
8079967cc5
more info for masternode count output/rpcconsole dialog
2015-07-25 11:18:22 +03:00
Jonas Schnelli
6f8b6d339b
don't try to decode invalid encoded ext keys
2015-07-25 09:51:52 +02:00
UdjinM6
5a6e474ec6
include lastPing in mnb hash calculation
2015-07-25 09:22:58 +03:00
Evan Duffield
61745d7724
Filter SigTime modes / version / proto bump
2015-07-24 16:10:44 -07:00
evan82
50121bbf69
Merge pull request #454 from UdjinM6/v0.12.0.x_fix_sync
...
V0.12.0.x remove sync forcing and count already seen as a success instead
2015-07-24 16:03:27 -07:00
UdjinM6
491c46c412
remove sync forcing and count already seen as a success instead
2015-07-24 21:35:11 +03:00
Evan Duffield
38cd9bd679
Improve portability of mn ranking algos
2015-07-24 09:44:46 -07:00
Evan Duffield
5281c48f70
Fix syncing issues
...
- if(pindexPrev->nHeight + 4 < pindexBestHeader->nHeight || pindexPrev->nTime + 600 < GetTime()) return;
-- && allowed skipping in various situations, which caused blocks to be rejected because of lack of mnfinalbudget data
2015-07-24 09:10:08 -07:00
Evan Duffield
9e65749ff6
Safer calcscore implementation
2015-07-24 08:50:10 -07:00
Evan Duffield
c137a204fb
Added calcscore cmd
2015-07-24 08:21:02 -07:00
Evan Duffield
85e1280bc3
limit mnw votes-per-mn
2015-07-24 07:12:48 -07:00
Philip Kaufmann
ed166dfa82
[Qt] allow users to set -onion via GUI
...
- also allow users to see, if the default proxy (-proxy) is used for
reaching peers via IPv6 or Tor
2015-07-24 12:28:06 +02:00
Wladimir J. van der Laan
bfd807ff32
Merge pull request #6456
...
ec249d4
util: use locale-independent parsing in ParseDouble (Wladimir J. van der Laan)
7650449
univalue: Avoid unnecessary roundtrip through double for numbers (Wladimir J. van der Laan)
e061e27
rpc: Make ValueFromAmount always return 8 decimals (Wladimir J. van der Laan)
2015-07-24 11:08:52 +02:00
Wladimir J. van der Laan
410fd7448a
Merge pull request #6465
...
56b28fc
Don't share objects between TestInstances (Casey Rodarmor)
2015-07-24 10:59:45 +02:00
Evan Duffield
48f9e277f9
changed min ver back to 70066
2015-07-23 18:55:39 -07:00
Cory Fields
ab67dd7818
depends: bump to qt 5.5
2015-07-23 21:10:35 -04:00
Jacob Welsh
5189fe3d88
depends: split qt config options to separate lines
...
Helps ease of reading and comparison. Removed some duplicates.
2015-07-23 21:10:35 -04:00
Cory Fields
fe997dfd12
build: fix building against qt5.4/5.5
2015-07-23 21:10:35 -04:00
evan82
12d4519015
Merge pull request #452 from UdjinM6/v0.12.0.x_fix_resync
...
V0.12.0.x fix resync & do not sync mn while IBD
2015-07-23 15:54:13 -07:00
UdjinM6
f8f4bff9a1
do not sync while IBD
2015-07-24 01:35:59 +03:00
UdjinM6
f0ccd2b8cb
fix resync
2015-07-24 01:35:11 +03:00
Evan Duffield
814f8e3f17
delete comment
2015-07-23 15:05:47 -07:00
Evan Duffield
ac947444da
protocol bump
2015-07-23 15:02:15 -07:00
Evan Duffield
9fb56d9479
Various improvements
...
- Use INV messages where possible in syncing process
- Ask 4 peers intend of 2 to send of inventory of mnw, and budgets
- Special regtest sync mode
- Fix mnw freezing issue (maybe)
2015-07-23 14:35:14 -07:00
Jorge Timón
60c8bac77c
Includes: Cleanup around net main and wallet
...
-Move from .h to .cpp: in main, net and wallet
-Remove unnecessary #include "main.h"
-Cleanup some wallet files includes
2015-07-23 21:10:26 +02:00
Jorge Timón
9dd793f499
TRIVIAL: Missing includes
2015-07-23 21:10:22 +02:00
Evan Duffield
fa6216f115
Check for existing budget hash before submitting
2015-07-23 11:48:19 -07:00