Commit Graph

6247 Commits

Author SHA1 Message Date
Pieter Wuille
2218d4bbe0
Simplify hashing code
Conflicts:
	src/addrman.cpp

Rebased-From: a8ff7c62ed
Github-Pull: #5941
2015-04-01 16:38:54 +02:00
Pieter Wuille
cf0218f8b2
Make addrman's bucket placement deterministic.
Give each address a single fixed location in the new and tried tables,
which become simple fixed-size arrays instead of sets and vectors.

This prevents attackers from having an advantages by inserting an
address multiple times.

This change was suggested as Countermeasure 1 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

It is also more efficient.

Conflicts:
	src/addrman.cpp
	src/addrman.h

Rebased-From: e6b343d880
Github-Pull: #5941
2015-04-01 16:38:47 +02:00
Pieter Wuille
b788994256
Switch addrman key from vector to uint256
Conflicts:
	src/addrman.cpp

Rebased-From: b23add5521
Github-Pull: #5941
2015-04-01 16:38:31 +02:00
evan82
fd357be174 Merge pull request #293 from UdjinM6/fix_rpc_mn_list
Fixes for "masternode list"
2015-03-31 15:31:54 -07:00
evan82
24cd4665ba Merge pull request #292 from UdjinM6/fix_UI_masternode_litemode
Fix UI in masternode and lite modes
2015-03-31 15:29:53 -07:00
Evan Duffield
ef96abcde4 Merge branch 'master' of https://github.com/darkcoin/darkcoin 2015-03-31 14:22:27 -07:00
Evan Duffield
57127ce661 use different cs for dsee 2015-03-31 14:21:59 -07:00
evan82
91cf419662 Merge pull request #290 from UdjinM6/fix_mn_dsee_activation
Fix MN dsee
2015-03-31 07:35:01 -07:00
UdjinM6
ae2dec6780 Fix MN dsee: MN should not update itself in MN list until it activated 2015-03-31 17:29:31 +03:00
UdjinM6
89f8a68a97 Fixes for "masternode list"
- fix descriptions and filtering in masternode list rpc, sort modes
- rename "active" to "status"
- move MN status string compilation to masternode.h
- "full" mode will use Status instead of IsEnabled now
2015-03-31 04:14:44 +03:00
UdjinM6
368c7a631e Fix UI in masternode and lite modes:
- disable entire DS frame in masternode mode and do not run timer
- hide DS and IX checkboxes in litemode
2015-03-31 01:27:20 +03:00
Evan Duffield
fea26cfb89 updated minimum for reference node 2015-03-30 12:33:42 -07:00
Evan Duffield
91d5f043ca Merge branch 'crowning--v0.11.2.x' 2015-03-30 09:06:26 -07:00
Evan Duffield
0dab1d059e updated chinese translations 2015-03-30 09:05:24 -07:00
crowning-
e67cc843dc Black border of Windows icons removed 2015-03-30 08:17:08 +02:00
Evan Duffield
8e8c117dd3 version bump 2015-03-29 22:19:15 -07:00
Evan Duffield
9d23c7fa3a translation updates 2015-03-29 22:18:16 -07:00
thelazier
551dd3bc56 Update rpcdarksend.cpp 2015-03-29 09:25:32 +07:00
crowning-
24d4738c22 Create empty dash.conf during startup if it doesn't exist 2015-03-28 14:22:57 +01:00
Evan Duffield
0202a9613f version bump 2015-03-27 18:08:46 -07:00
Evan Duffield
de073e8724 version bump 2015-03-27 18:06:13 -07:00
Evan Duffield
f227a13cb1 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-27 17:42:56 -07:00
Evan Duffield
a5e5476995 imported updated translations 2015-03-27 17:42:35 -07:00
Pieter Wuille
a1f425b48b Add a consistency check for the block chain data structures
This adds a -checkblockindex (defaulting to true for regtest), which occasionally
does a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive, and
mapBlocksUnlinked.
2015-03-27 17:24:07 -07:00
crowning-
dbc093f834 Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-27 23:49:13 +01:00
crowning-
2d5dd18548 Line-break (which breaks the layout) removed from German translation. 2015-03-27 23:44:52 +01:00
UdjinM6
e6ec450fa1 (mac) icns with new logo 2015-03-27 20:12:34 +03:00
Evan Duffield
d1fad966e9 DASHS -> DASH 2015-03-27 08:54:29 -07:00
Evan Duffield
6a75e6e52e updated chinese translations 2015-03-27 08:04:17 -07:00
Evan Duffield
b929991ff9 deleted unused translation files 2015-03-27 07:32:19 -07:00
crowning-
4421c968cf 256x256 pics updated to Dash logo 2015-03-26 23:08:01 +01:00
crowning-
253c9d79fd 256x256 pics updated to Dash 2015-03-26 23:07:31 +01:00
Evan Duffield
79edce5f5d version bump 2015-03-26 14:58:10 -07:00
crowning-
073e55fcc5 Dash images for toolbar 2015-03-26 22:56:48 +01:00
crowning-
d6db2a35c6 Dash icons for Windows 2015-03-26 22:12:53 +01:00
Evan Duffield
b89fd2e149 compiling warnings / fixed block comparison 2015-03-26 14:11:05 -07:00
Evan Duffield
a34ca7a88c Reference node fixes / debugging
- Only allow payments to be created once per blockHeight
2015-03-26 13:46:19 -07:00
Evan Duffield
6c9cc68449 version 12 2015-03-26 07:29:56 -07:00
evan82
b00ffa6af1 Merge pull request #279 from UdjinM6/v0.11.2.x_DS_header
v0.11.2.x make Darksend header styling closer to Available label
2015-03-26 07:22:57 -07:00
evan82
aadf08a8ca Merge pull request #278 from UdjinM6/v0.11.2.x_fix_UI
v0.11.2.x fix balances label UI issue
2015-03-26 07:22:35 -07:00
UdjinM6
b44f0429db make Darksend header styling closer to Available label 2015-03-26 13:25:01 +03:00
Wladimir J. van der Laan
4635a4c4e7
Translations update from transifex 2015-03-26 08:59:53 +01:00
Ruben de Vries
78f64ef0b2
don't trickle for whitelisted nodes
Rebased-From: fc720207e0
Github-Pull: #5942
2015-03-26 08:39:00 +01:00
UdjinM6
e9ea273db7 fix balances label UI issue 2015-03-25 18:13:55 +03:00
crowning-
51fdade5c7 Fixed console history truncation 2015-03-25 10:16:46 +01:00
snogcel
24b0e364f2 updated color scheme and logos 2015-03-24 22:54:49 -06:00
snogcel
283edf7598 adjustment (single line revert) 2015-03-24 19:01:50 -06:00
snogcel
bf4c9ef42a qlabel width adjustment & small button placement adjustment 2015-03-24 18:58:33 -06:00
Evan Duffield
41135ad456 version/proto/minproto bump 2015-03-24 14:14:55 -07:00
UdjinM6
d08949970c Merge branch 'v0.11.2.x' into v0.11.2.x_mncache_strmagic 2015-03-24 19:14:07 +03:00
evan82
9fec03ba3f Merge pull request #272 from UdjinM6/v0.11.2.x_small_mn_related_fixes_cleanups
V0.11.2.x few small mn related fixes & cleanups
2015-03-24 08:29:53 -07:00
evan82
d75462694f Merge pull request #271 from crowning-/v0.11.2.x
Default keypool size in usage text fixed
2015-03-24 08:29:22 -07:00
evan82
774ccffe3c Merge pull request #270 from snogcel/v0.11.2.x
increase recent transactions to 5
2015-03-24 08:29:07 -07:00
evan82
d2c868a9a4 Merge pull request #274 from UdjinM6/v0.11.2.x_dont_limit_dssend_inputs
V0.11.2.x don't limit ds-send inputs number artificially, fees should take care of it instead
2015-03-24 08:27:17 -07:00
UdjinM6
ca53ddd32b don't limit ds-send inputs number artificially, fees should take care of it instead 2015-03-24 18:16:43 +03:00
Alex Morcos
1d2cdd2ef9
Fix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates
Rebased-From: cd3d67cf3b
Github-Pull: #5890
2015-03-24 14:51:36 +01:00
UdjinM6
7ae6c961f7 use strMagicMessage to verify mncache.dat, rewrite (only) if hash and both magic are ok 2015-03-24 13:43:14 +03:00
crowning-
1795fb347e Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-24 09:22:23 +01:00
crowning-
a6862652b8 Default keypool size in usage text fixed 2015-03-24 09:18:35 +01:00
dexX7
c9e022b7ee Initialization: set Boost path locale in main thread
The path locale is lazy initialized and to avoid deinitialization errors
in multithreading environments, it is set explicitly by the main thread.

Conflicts:
	src/util.cpp
Rebased-From: 317e66c741
Github-Pull: #5877
2015-03-24 08:45:24 +01:00
snogcel
7092180641 increase recent transactions to 5 2015-03-23 21:31:15 -06:00
evan82
7af4e2ad11 Merge pull request #269 from snogcel/v0.11.2.x
updated logo positioning and subtle color scheme adjustment
2015-03-23 20:14:07 -07:00
UdjinM6
6f11893ea1 ProcessMasternodeConnections should work on testnet too 2015-03-24 05:03:34 +03:00
UdjinM6
cfc4bbd986 do not check mn unless only active requested 2015-03-24 05:02:22 +03:00
UdjinM6
0fd7c655a4 move mn state enum inside class 2015-03-24 04:59:12 +03:00
snogcel
33202e4089 adjust Available Balance label height 2015-03-23 19:58:45 -06:00
UdjinM6
5c1621447d make sure nScanningErrorCount and nLastScanningErrorBlockHeight handled correctly 2015-03-24 04:52:27 +03:00
Evan Duffield
505ab68aa9 version bump 2015-03-23 18:19:49 -07:00
Evan Duffield
49214d0232 Removed donation flag 2015-03-23 18:16:28 -07:00
snogcel
0b9f9b6c33 Revert "increase number of recent transactions"
This reverts commit 99ce56a8c0.
2015-03-23 18:44:16 -06:00
snogcel
99ce56a8c0 increase number of recent transactions 2015-03-23 18:41:10 -06:00
snogcel
3bcaead0f6 updated logo and subtle color scheme adjustment 2015-03-23 18:32:54 -06:00
crowning-
a5833ccd34 "(out of sync)" labels re-aligned 2015-03-23 21:12:33 +01:00
evan82
bf52910a14 Merge pull request #266 from UdjinM6/v0.11.2.x_fix_scorecalculation_hash
V0.11.2.x fix scorecalculation hash
2015-03-23 13:03:02 -07:00
Evan Duffield
b0786bb5a1 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-23 12:40:41 -07:00
Evan Duffield
701886c8d5 New Command: masternode list pose
- Shows proof-of-service score for masternodes
2015-03-23 12:39:38 -07:00
evan82
49576c93b2 Merge pull request #267 from UdjinM6/v0.11.2.x_rpc_blockheader
V0.11.2.x add getblockheader rpc command (+small fix for getblock example)
2015-03-23 11:43:18 -07:00
UdjinM6
ef98ad5039 example block hash btc->dash 2015-03-23 20:57:03 +03:00
UdjinM6
52ff69dd57 add getblockheader rpc command 2015-03-23 20:56:16 +03:00
Evan Duffield
1a6be53733 reducing spam 2015-03-23 10:43:17 -07:00
Evan Duffield
2bac43a100 updated logos 2015-03-23 10:30:12 -07:00
UdjinM6
2a7c348b16 explicitly grab each piece of data from memory for hashing in CMasternode::CalculateScore 2015-03-23 20:28:36 +03:00
Evan Duffield
528cf61185 version bump / pose fixes 2015-03-23 10:20:56 -07:00
Evan Duffield
c0a658ae43 version bump 2015-03-23 07:14:34 -07:00
Evan Duffield
4592b5090d fixed masternode donation miscalculations 2015-03-23 07:13:20 -07:00
Evan Duffield
4152eea1c1 fixed ranking issues for PoSe 2015-03-23 05:59:22 -07:00
Evan Duffield
0e35ed5cb6 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-22 17:44:36 -07:00
Evan Duffield
739486eb5d added "masternode list donation" 2015-03-22 17:43:42 -07:00
evan82
3103432fac Merge pull request #265 from crowning-/v0.11.2.x
Resized transaction icons of overview-page for a more harmonic look
2015-03-22 15:50:17 -07:00
Evan Duffield
98a984dc6b changed seeders 2015-03-22 13:49:43 -07:00
crowning-
bcb148eeab Placement of transaction-amount adjusted (unconfirmed transactions didn't fit) 2015-03-22 21:29:29 +01:00
crowning-
ef74e261e5 Resized transaction icons of overview-page for a more harmonic look 2015-03-22 20:37:30 +01:00
Evan Duffield
88de9f9c4d version bump 2015-03-22 07:31:55 -07:00
Evan Duffield
da66e049cb update logos 2015-03-22 07:15:28 -07:00
Evan Duffield
563b949db3 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-21 21:08:07 -07:00
Evan Duffield
9ae1093935 improved donation code/message 2015-03-21 21:07:59 -07:00
Evan Duffield
9bafb70a2f changed some locks 2015-03-21 20:27:13 -07:00
UdjinM6
e3d333f8b2 converted from "fix possible block db breakage during re-index" bb6acff079 2015-03-21 20:27:13 -07:00
UdjinM6
66d96acd19 format only: tabs -> spaces 2015-03-21 20:27:13 -07:00
UdjinM6
00023e97db disconnect ds timer if not in litemode 2015-03-21 20:27:13 -07:00
UdjinM6
bff51d4fcc disable relay 2015-03-21 20:27:13 -07:00
snogcel
988af26070 available balance font size, iX and darksend checkbox alignment 2015-03-21 20:27:13 -07:00
Evan Duffield
c5da226a09 changed some locks 2015-03-21 20:10:34 -07:00
Evan Duffield
5863457c85 Added easy to use donations 2015-03-21 12:49:21 -07:00
snogcel
c7d3c35cb5 available balance font size, iX and darksend checkbox alignment 2015-03-21 09:53:55 -06:00
Evan Duffield
e4b6f85e69 remove locks 2015-03-21 06:31:34 -07:00
evan82
32fcbf0932 Merge pull request #258 from snogcel/v0.11.2.x
button click css, fix for EditAddressDialog
2015-03-21 06:21:02 -07:00
Evan Duffield
cb4f0d1216 fixed typo 2015-03-21 06:14:26 -07:00
Evan Duffield
1c8bec258a protocol bump 2015-03-21 05:56:50 -07:00
Evan Duffield
649937dc4f masternode voting improvements 2015-03-20 20:34:36 -07:00
Evan Duffield
1cf72dea8c fixed tDASH references 2015-03-20 17:00:46 -07:00
snogcel
9b22e80024 button click css, fix for EditAddressDialog 2015-03-20 13:50:48 -06:00
Evan Duffield
412a6838c7 added masternode voting system for dash initiates 2015-03-20 11:24:11 -07:00
Evan Duffield
79e50f81e3 Disabled masternode blinding / increased rounds defaults 2015-03-20 08:47:19 -07:00
Evan Duffield
ba278ba5f6 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-20 07:54:19 -07:00
Evan Duffield
0890b8f055 version bump 2015-03-20 07:53:51 -07:00
Evan Duffield
dce8718d6b Merge branch 'v11.2-dash' into v0.11.2.x 2015-03-20 07:49:36 -07:00
Evan Duffield
da7eba7198 Merge branch 'v11.2-dash' of https://github.com/darkcoinproject/darkcoin into v11.2-dash 2015-03-20 07:46:39 -07:00
Evan Duffield
76aaea1ae8 Translation updates
Darkcoins -> Dash
dashcurrency.com -> dashpay.io
Updated seeds
2015-03-20 07:45:30 -07:00
snogcel
aba8af73b0 subtle menu, tabwidget, and button modifications 2015-03-19 22:47:21 -06:00
snogcel
148435eb15 Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-19 22:00:09 -06:00
evan82
02340c4a08 Merge pull request #255 from UdjinM6/v11.2-dash
ru
2015-03-19 13:09:54 -07:00
UdjinM6
bfdf6894dc ru 2015-03-19 22:41:06 +03:00
Evan Duffield
981775c1d2 uDRK -> uDASH 2015-03-19 12:14:58 -07:00
Evan Duffield
5cb26c5928 Changed darkcoin references to dash
- Changed out logos (just a placeholder)
- DRK -> DASH
- ./darkcoin -> ./dash
2015-03-19 12:03:14 -07:00
Evan Duffield
eb782e1263 Merge branch 'v-1.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-19 08:04:42 -07:00
Evan Duffield
3fff810292 fixed masternode payments FindOldestNotInVec 2015-03-19 08:04:14 -07:00
snogcel
913baaf88b updated buttons 2015-03-19 07:16:24 -06:00
Cory Fields
8752b5c882 0.10 fix for crashes on OSX 10.6
strnlen is available at build-time but not at runtime, causing a crash.

0.11 drops support for 10.6, so this is not needed in master.
2015-03-19 00:14:28 -04:00
Evan Duffield
8f39610ee4 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v11.2-dash 2015-03-18 12:50:02 -07:00
Evan Duffield
e82c88ecbd increasing ds timeouts 2015-03-18 10:19:13 -07:00
Evan Duffield
a1ac7ca8d3 Fixed blinding submission process 2015-03-18 09:47:01 -07:00
Evan Duffield
07eddca0f1 Fixed blinding submission process 2015-03-18 09:43:29 -07:00
Evan Duffield
d83646f5b9 Fixed blinding submission process 2015-03-18 09:41:30 -07:00
evan82
4d7db44afa Merge pull request #252 from snogcel/v0.11.2.x
Window Resizing Fixes
2015-03-18 06:30:58 -07:00
snogcel
686a99f7e1 remove leftover global style 2015-03-18 06:59:14 -06:00
Wladimir J. van der Laan
601327be8c
bump version to 0.10.1 in preparation of RC1 2015-03-18 13:01:10 +01:00
crowning-
8825e7978b Wrong default them name on initialization fixed 2015-03-18 06:57:42 +01:00
snogcel
243975a610 window resize fix 2015-03-17 22:17:11 -06:00
evan82
7ce4090da9 Merge pull request #250 from crowning-/v0.11.2.x
Icons for outgoing transactions changed back to the color red
2015-03-17 16:14:20 -07:00
Evan Duffield
80eafa36d5 fixed dsee sync 2015-03-17 16:12:06 -07:00
Evan Duffield
35bb210c6b Dash rebranding 2015-03-17 16:06:58 -07:00
crowning-
2633df7c4b Icons for outgoing transactions changed back to the color red 2015-03-17 21:38:22 +01:00
Pieter Wuille
ca301bf98c
Reduce fingerprinting through timestamps in 'addr' messages.
Suggested by Jonas Nick.

Rebased-From: 9c2737901b
Github-Pull: #5860
2015-03-17 16:39:10 +01:00
Evan Duffield
820e660e10 version bump / protocol bump 2015-03-17 04:42:32 -07:00
UdjinM6
0655c17175 bring mn inputage/sigtime checks back (+regtest support) 2015-03-17 04:10:19 +03:00
Evan Duffield
ad08533977 removed default donation for testing 2015-03-16 15:36:17 -07:00
Evan Duffield
1f47914316 fixed bugs / removed spam 2015-03-16 15:25:15 -07:00
UdjinM6
567fe419d9 fix pubkey/donation conditions 2015-03-17 00:11:15 +03:00
Evan Duffield
c65adeb7d1 Fixed mnw message issue 2015-03-16 13:57:07 -07:00
UdjinM6
19bb9932be v0.11.2.x mn-donations - read from masternode.conf and rpc list-conf parts 2015-03-16 22:54:22 +03:00
Evan Duffield
8cd7f8e980 Add structure for donating a percentage of ones earnings to another party via the protocol 2015-03-16 12:01:11 -07:00
Evan Duffield
819724ad1d merged proof-of-service 2015-03-16 09:40:39 -07:00
Evan Duffield
e5267319ef Complete implementation of Proof-of-Service
- Ensures ports remain open and client are responsive to IX requests.
- Completely 100% decentralized. This farms out the work of checking the masternode network to the masternode network. 1% of the network is determistically selected to check another 1% of the network each block. It takes six separate checks to deactivate a node, thus making it tamper proof.
- Nodes are kept in the masternode list if they fail enough PoSe checks to deactivate. They will continue to be checked until the operator fixes them. However they will not be paid while they're failing checks.
2015-03-16 09:32:18 -07:00
evan82
3c8234853f Merge pull request #245 from UdjinM6/v0.11.2.x_fix_litemode_consistency
V0.11.2.x fix litemode consistency for anon balance quering
2015-03-16 07:26:39 -07:00
evan82
3fb8f869de Merge pull request #244 from UdjinM6/v0.11.2.x_masternoderanks
V0.11.2.x masternoderanks
2015-03-16 07:26:03 -07:00
evan82
7d9d2d0297 Merge pull request #243 from UdjinM6/v0.11.2.x_net_specific_conf
V0.11.2.x  network specific masternode.conf
2015-03-16 07:25:25 -07:00
evan82
feabff60a8 Merge pull request #242 from UdjinM6/v0.11.2.x_verify_dsq_vin
V0.11.2.x verify dsq vin
2015-03-16 07:25:04 -07:00
evan82
4b0cdb4834 Merge pull request #241 from UdjinM6/v0.11.2.x_cleanup
V0.11.2.x cleanup
2015-03-16 07:24:44 -07:00
evan82
042308c289 Merge pull request #240 from UdjinM6/v0.11.2.x_fix_mac_tab_hotkeys
v0.11.2.x fix mac tab hotkeys
2015-03-16 07:24:01 -07:00
evan82
e34292f76d Merge pull request #239 from UdjinM6/v0.11.2.x_fix_toolbar_styling
V0.11.2.x fix toolbar styling
2015-03-16 07:23:42 -07:00
evan82
68ea5960b3 Merge pull request #236 from UdjinM6/v0.11.2.x_fix_nulls__close_btn
V0.11.2.x fix nulls & close btn behavior
2015-03-16 07:21:53 -07:00
Jonas Schnelli
2c0840631d
[QT] some mac specifiy cleanup (memory handling, unnecessary code)
Rebased-From: 8b60808c1e
Github-Pull: #5880
2015-03-16 13:56:34 +01:00
Jonas Schnelli
81145a6ccd
[QT] fix OSX dock icon window reopening
fixes #5878

Rebased-From: 89e70e931d
Github-Pull: #5880
2015-03-16 13:56:13 +01:00
UdjinM6
f81d52da1e check fLiteMode on GetAnonymizedBalance in wallet instead of walletmodel 2015-03-15 21:19:25 +03:00
UdjinM6
6933d17a80 - new function GetMasternodeRanks returns full masternode rank list
- use GetMasternodeRanks in "masternode list rank" instead of GetMasternodeRank
- small cleanup
2015-03-14 21:37:43 +03:00
UdjinM6
35b50eea87 Use network specific masternode.conf 2015-03-14 02:22:32 +03:00
evan82
9b1bc951f2 Merge pull request #238 from UdjinM6/v0.11.2.x_9999_mainnet_only
v0.11.2.x Parse masternode.conf only after network is recognized
2015-03-13 10:01:53 -07:00
UdjinM6
43712ff4de Verify that dsq.vin is actually in our masternode list (otherwise we might hit NULL and think that we use queue at the same time while we are not) 2015-03-13 19:00:44 +03:00
UdjinM6
53c3a5e24c Cleanup few debug msgs, reduce log spam / few readability fixes 2015-03-13 18:53:12 +03:00
UdjinM6
0894b4ae1e For Mac it's more common to switch tabs by "cmd + number" instead of "alt + number". Note: CTRL refers to cmd key on Mac. 2015-03-13 18:38:46 +03:00
UdjinM6
761c8fbae3 Create additional container for toolbar and walletFrame and make it the central widget. This is a workaround mostly for toolbar styling on Mac OS but should work fine for every other OSes too. 2015-03-13 18:26:42 +03:00
UdjinM6
b96bd3afc2 Parse masternode.conf only after network is recognized 2015-03-13 18:16:25 +03:00
UdjinM6
b0a91997de Merge branch 'v0.11.2.x' into v0.11.2.x_fix_nulls__close_btn 2015-03-13 03:30:33 +03:00
evan82
3fdb01087d Merge pull request #237 from UdjinM6/v0.11.2.x_9999_mainnet_only
V0.11.2.x allow port 9999 for MNs on mainnet only
2015-03-12 17:12:01 -07:00
Alex Morcos
c91c660e49
fix InvalidateBlock to repopulate setBlockIndexCandidates
Rebased-From: a9af415887
Github-Pull: #5879
2015-03-12 17:51:00 +01:00
UdjinM6
dafc6334ab close wallet regardless of "minimize to tray" settings 2015-03-12 15:40:41 +03:00
Philip Kaufmann
6a0687b061 [Qt] add more NULL pointer checks in bitcoingui
- add missing checks for clientModel and optionsModel
- small cleanups for an #ifdef on Mac
- remove an unneeded else
2015-03-12 15:38:19 +03:00
UdjinM6
3bb912d8c3 allow 9999 for MNs on mainnet only 2015-03-11 22:26:39 +03:00
Cory Fields
002c8a2411
fix possible block db breakage during re-index
When re-indexing, there are a few cases where garbage data may be skipped in
the block files. In these cases, the indices are correctly written to the index
db, however the pointer to the next position for writing in the current block
file is calculated by adding the sizes of the valid blocks found.

As a result, when the re-index is finished, the index db is correct for all
existing blocks, but the next block will be written to an incorrect offset,
likely overwriting existing blocks.

Rather than using the sum of all valid blocks to determine the next write
position, use the end of the last block written to the file. Don't assume that
the current block is the last one in the file, since they may be read
out-of-order.

Rebased-From: bb6acff079
Github-Pull: #5864
2015-03-11 08:34:43 +01:00
crowning2
978ca789ba Display default theme when nothing was configured (fixed) 2015-03-10 22:15:20 +01:00
crowning2
470941cdf8 Display default theme when nothing was configured 2015-03-10 21:37:32 +01:00
snogcel
839b40e3c6 drkblue theme v0.1.0.4 2015-03-10 07:05:13 -06:00
crowning2
effd3f39b2 Minor refactoring 2015-03-10 09:09:41 +01:00
snogcel
a49668b473 drkblue theme v0.1.0.3 2015-03-09 20:32:29 -06:00
crowning2
acf9935b54 DRK-blue is now default theme 2015-03-09 23:46:59 +01:00
crowning2
ff8fe33c49 Old icons replaced with Darkcoil icons 2015-03-09 22:59:47 +01:00
Ivan Pustogarov
200f29363b
Ignore getaddr messages on Outbound connections.
The only time when a client sends a "getaddr" message is when he
esatblishes an Outbound connection (see ProcessMessage() in
src/main.cpp).  Another bitcoin client is expected to receive a
"getaddr" message only on Inbound connection. Ignoring "gettaddr"
requests on Outbound connections can resolve potential privacy issues
(and as was said such request normally do not happen anyway).

Rebased-From: dca799e1db
Github-Pull: #5442
2015-03-09 12:25:20 +01:00
Pieter Wuille
d5d8998028
Limit message sizes before transfer
This introduces a fixed limit for the size of p2p messages, and enforces it
before download.

Rebased-From: ba04c4a780
Github-Pull: #5843
2015-03-09 11:13:35 +01:00
Jonas Schnelli
786cf72c7f [Qt] fix a issue where "command line options"-action overwrite "Preference"-action (on OSX)
- fixes #5800

Conflicts:
	src/qt/bitcoingui.cpp

Rebased-From: 9bbb880be4
Github-Pull: #5858
2015-03-09 11:05:43 +01:00
crowning2
34e26d4bf5 Switched from dynamic CSS to build-in CSS 2015-03-08 19:43:31 +01:00
crowning2
ca89c5d49f CSS-file moved to res/css/ 2015-03-08 19:30:15 +01:00
crowning2
a3549ee71e CSS-file temp. removed 2015-03-08 19:26:22 +01:00
snogcel
90368608a5 drkblue theme v0.1.0.2 2015-03-08 10:37:20 -06:00
crowning2
bfa8549377 Merge 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-08 16:08:49 +01:00
Evan Duffield
441103ea71 update relay rules - protocol/version bump 2015-03-08 07:49:04 -07:00
crowning2
34c0bd3c1b CSS-loader refactored for ease of maintenance 2015-03-08 13:38:56 +01:00
crowning2
a8b42a0dd4 Merge remote-tracking branch 'origin/v0.11.2.x' into v0.11.2.x 2015-03-08 10:50:12 +01:00
crowning2
8daadca14a Removed absolute placements of QDialogs from CSS 2015-03-08 10:43:10 +01:00
crowning2
61a06ebacf Absolute position of options-dialog in CSS removed 2015-03-08 10:37:07 +01:00