Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.12.0.x ds single random denom #499

Closed
wants to merge 2,689 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2689 commits
Select commit Hold shift + click to select a range
60f7428
Disabled coinpayee cleanup
Jul 19, 2015
e1279eb
Reprocess best chain for coinbase payee on each block
Jul 19, 2015
57df98b
Force chain reprocess on load for coinbase-payee index
Jul 19, 2015
e6327e5
Disable coinbase payee cache
Jul 20, 2015
dba572a
use specific protocols
UdjinM6 Jul 18, 2015
86c8691
fixes for sync
UdjinM6 Jul 18, 2015
4bcd548
slightly refactor
UdjinM6 Jul 19, 2015
b1f19c7
process checks we can without waiting for full sync
UdjinM6 Jul 19, 2015
5f9c676
fix condition for a recent block in mn sync
UdjinM6 Jul 19, 2015
753297e
drop -masternodeminprotocol/nMasternodeMinProtocol, use masternodePay…
UdjinM6 Jul 20, 2015
a831418
Merge pull request #441 from UdjinM6/v0.12.0.x_proto_and_sync
eduffield82 Jul 20, 2015
fb5f80a
UI: allow "," in "Min amount" field of Transaction-View
crowning- Jul 20, 2015
77af4fb
MNP ping changes
Jul 20, 2015
a683078
Merge pull request #445 from crowning-/UI_Enhancements
eduffield82 Jul 20, 2015
cc26cff
do not require active MN on ping check from UpdateFromNewBroadcast
UdjinM6 Jul 20, 2015
aa996b2
Merge pull request #446 from UdjinM6/v0.12.0.x_fix_mnb_ping_acceptance
eduffield82 Jul 20, 2015
f36e425
mnb/mnp debugging
Jul 20, 2015
52b9303
UI: fixed width of wallet-repair-buttons for longer locales
crowning- Jul 20, 2015
2d745eb
Don't sync sporks in regtest, fix segfault
Jul 20, 2015
d193cc2
Clean up broadcast list when nodes are removed
Jul 20, 2015
8198291
Force sync progress:
UdjinM6 Jul 20, 2015
7a992ac
Merge pull request #448 from UdjinM6/v0.12.0.x_force_sync_progress
eduffield82 Jul 20, 2015
37f55a3
Refactored masternode payments system
Jul 20, 2015
6df7519
Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.1…
Jul 20, 2015
49afaa0
Merge remote-tracking branch 'upstream/v0.12.0.x' into UI_Enhancements
crowning- Jul 20, 2015
1eab82a
Erase seen masternode broadcasts when masternode drops from list
Jul 20, 2015
e4a0e83
Masternode payment cache and mnget changes
Jul 21, 2015
de485fe
Allow peers to ask for budget votes on testnet more than once
Jul 21, 2015
3fae250
Dont accept MNW from older masternodes
Jul 21, 2015
9e5cd41
Fixed compile error
Jul 21, 2015
18fc14e
Improved mnw sync
Jul 21, 2015
b2c4e14
Add offset for lastpaid / seperate min mnw peer version
Jul 21, 2015
cbe2bae
Improved lastpaid and fixed votes calculation
Jul 21, 2015
388f22c
Version 26 / New masternode consensus system
Jul 22, 2015
dec45ac
Fixed bug with remotely enabled masternodes and wrong protocol version
Jul 22, 2015
c2a23c5
Fix sync-spork logic
Jul 22, 2015
b9d47a0
Submit finalized budget 2 days before payment
Jul 23, 2015
18a9080
Fixed mnbudget suggestion
Jul 23, 2015
6123770
active masternode fixes
UdjinM6 Jul 23, 2015
ae48f09
small fixes for rpc
UdjinM6 Jul 23, 2015
9e879d5
Merge pull request #451 from UdjinM6/v0.12.0.x_fix_rpc
eduffield82 Jul 23, 2015
516c5ff
Merge pull request #450 from UdjinM6/v0.12.0.x_active_mn
eduffield82 Jul 23, 2015
5cccd2b
Merge pull request #447 from crowning-/UI_Enhancements
eduffield82 Jul 23, 2015
cd862ac
Disable multisig proposals / IsScheduled read ahead 8 blocks
Jul 23, 2015
35cc21e
New masternodes must wait till end of queue
Jul 23, 2015
f727b2d
Fixed RemainingPayments display bug
Jul 23, 2015
5c935c8
version bump
Jul 23, 2015
9aca541
inc min peer version to 70094 for testing
Jul 23, 2015
fa6216f
Check for existing budget hash before submitting
Jul 23, 2015
9fb56d9
Various improvements
Jul 23, 2015
ac94744
protocol bump
Jul 23, 2015
814f8e3
delete comment
Jul 23, 2015
f0ccd2b
fix resync
UdjinM6 Jul 23, 2015
f8f4bff
do not sync while IBD
UdjinM6 Jul 23, 2015
12d4519
Merge pull request #452 from UdjinM6/v0.12.0.x_fix_resync
eduffield82 Jul 23, 2015
48f9e27
changed min ver back to 70066
Jul 24, 2015
85e1280
limit mnw votes-per-mn
Jul 24, 2015
c137a20
Added calcscore cmd
Jul 24, 2015
9e65749
Safer calcscore implementation
Jul 24, 2015
5281c48
Fix syncing issues
Jul 24, 2015
38cd9bd
Improve portability of mn ranking algos
Jul 24, 2015
491c46c
remove sync forcing and count already seen as a success instead
UdjinM6 Jul 24, 2015
50121bb
Merge pull request #454 from UdjinM6/v0.12.0.x_fix_sync
eduffield82 Jul 24, 2015
61745d7
Filter SigTime modes / version / proto bump
Jul 24, 2015
5a6e474
include lastPing in mnb hash calculation
UdjinM6 Jul 25, 2015
8079967
more info for masternode count output/rpcconsole dialog
UdjinM6 Jul 25, 2015
26b2c32
Merge pull request #455 from UdjinM6/v0.12.0.x_mnb_hash_lastPing
eduffield82 Jul 25, 2015
24183b1
Merge pull request #456 from UdjinM6/v0.12.0.x_info_mn_count
eduffield82 Jul 25, 2015
8187228
Fixed budget syncing issues / forking issues / syncing issues
Jul 25, 2015
0b9d761
only take newest votes
Jul 25, 2015
43101eb
Implement planned hard forks, August 24, 2015
Jul 25, 2015
c0a5dfb
Masternode inv messages / save seen in mncache
Jul 25, 2015
61becf2
directly send inv messages
Jul 26, 2015
04fc6e1
Change rest of sync process to direct inv messages / reduced sync tim…
Jul 26, 2015
b04faf6
Update lastPing in mapSeen obj, remove ping from CMasternode hash
Jul 26, 2015
2b3edff
Only relay good budget items
Jul 26, 2015
f82b34f
better sorting algorithm
Jul 26, 2015
145c845
Changed vote restrition model
Jul 26, 2015
da21fed
version bump
Jul 26, 2015
76c4cfc
UI: Limit display of Sendcoins-popup to 10 entries.
crowning- Jul 26, 2015
d227f28
allow masternodes to turn on pre-sync - udjin
Jul 26, 2015
597c2b2
new masternode start strategy - only check blockchain sync status
Jul 26, 2015
7b480ac
Eliminate false positives for syncing process
Jul 27, 2015
225ad3b
Merge pull request #458 from crowning-/UI_Enhancements
eduffield82 Jul 27, 2015
e03879b
Update spork name : SPORK_10_MASTERNODE_PAY_UPDATED_NODES
Jul 27, 2015
71c73c1
Added documentation
Jul 27, 2015
9689e5c
improve errors for missing finbudgets/props
Jul 27, 2015
cddbda9
Fixed DarkSend dstx propagation issues
Jul 27, 2015
bf18699
client bump /proto bump
Jul 27, 2015
b540068
enable mnw lock
Jul 27, 2015
b6222a9
change req sigs to 6 of 10
Jul 28, 2015
781db99
Changed hard fork date to Aug 30
Jul 28, 2015
d72d3d0
Various Fixes
Jul 28, 2015
8be929d
version bump
Jul 28, 2015
69b02b5
Fixed documentation
Jul 28, 2015
ffaedc1
Fixed proposal nTime calculation and usage
Jul 28, 2015
a069a5d
Update isBlockchainSynced requirements
Jul 28, 2015
8acfd77
Fixed HaveBudget, allow failure after 3 tries
Jul 28, 2015
08de7c3
try activation immediately after sync
Jul 29, 2015
dc829e9
added syncing counts
Jul 29, 2015
0edb236
Fixed item count functionality and sync with no budegt
Jul 29, 2015
f82a028
Budget prop empty / version bump
Jul 29, 2015
fc33c3b
fixed GetBudget bug
Jul 29, 2015
dfad322
Refactored locking for masternode winners and budgets
Jul 29, 2015
0152a1f
Removed IsBudgetPaymentBlock lock
Jul 29, 2015
ff2fa91
UI: CSS for watch-only addresses added
crowning- Jul 28, 2015
e230762
lock debugging
Jul 29, 2015
976bd78
Refactor DS:
UdjinM6 Jul 25, 2015
ba5e906
do not mix 1000 if it's local MN _OR_ input is locked - should allow …
UdjinM6 Jul 25, 2015
c99af0b
More DS refactoring/fixes:
UdjinM6 Jul 25, 2015
8a3f342
move ds/ix/mn lib to wallet category
UdjinM6 Jul 27, 2015
6c7d66f
add cs_wallet lock on GetInputDarksendRounds
UdjinM6 Jul 29, 2015
36bb9d6
FindRandomNotInVec - should give less failures then FindRandom on doauto
UdjinM6 Jul 29, 2015
0e7b73e
UI: better alignment of overview-screen
crowning- Jul 29, 2015
8054529
Proposal nTime based on fee transaction block
Jul 30, 2015
3fc9ea4
Disable CheckAndRemove on file dumps
Jul 30, 2015
3a72bea
fixed sync edge case
Jul 30, 2015
3f47277
disable sync-retry
Jul 30, 2015
afd7152
fix all kind of lock issues
UdjinM6 Jul 30, 2015
4455951
Merge pull request #463 from UdjinM6/v0.12.0.x_fix_locks
eduffield82 Jul 30, 2015
7a90286
Revert "Disable CheckAndRemove on file dumps"
Jul 30, 2015
ebc2591
Revert "lock debugging"
Jul 30, 2015
9ab4a72
cleanups/fixes:
UdjinM6 Jul 30, 2015
5024b7d
Added sendtoaddressix for api IX support
Jul 30, 2015
6c6aa35
fixed sendtoaddressix
Jul 30, 2015
1cf19c6
Check prop FeeHash separate w/o banning prop
Jul 30, 2015
d57d6f0
disable IX for proposal fees
Jul 30, 2015
a517042
UI: alignment fix for Overview-page
crowning- Jul 31, 2015
d75ffba
UI: alignment fix for Overview-page (typo fix)
crowning- Jul 31, 2015
371bf34
Merge pull request #464 from UdjinM6/v0.12.0.x_cleanup
eduffield82 Jul 31, 2015
2ade614
fix
UdjinM6 Jul 31, 2015
f0923de
add darksend debug category
UdjinM6 Jun 23, 2015
184611f
add instantx debug category
UdjinM6 Jun 24, 2015
1c7c81a
cleanup other incorrect ix log outputs
UdjinM6 Jun 24, 2015
dd8fa7c
Continue work on more debug categories
UdjinM6 Jul 31, 2015
8168b60
Merge pull request #465 from crowning-/v0.12.0.x
eduffield82 Jul 31, 2015
fa9a0ec
Use reconsider blocks for IX instead of disconnect
Jul 31, 2015
8b62e59
version bump / proto bump / try mining lock
Jul 31, 2015
44c9941
disable block cache / fix reprocess
Aug 1, 2015
171c0b1
TRY_LOCK for blocks
Aug 1, 2015
64aad03
draft
Aug 1, 2015
efc74b2
UI: "Confirm send coins" popup beautified
crowning- Aug 1, 2015
718c7f1
Merge pull request #384 from UdjinM6/v0.12.0.x_debug_categories
eduffield82 Aug 1, 2015
53e1cd6
Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.1…
Aug 1, 2015
b8dbdb3
Merge pull request #468 from crowning-/UI_Enhancements
UdjinM6 Aug 2, 2015
0918675
more info on ds progress / update tr strings / prepare dash_en.ts for…
UdjinM6 Aug 2, 2015
2ae8996
Merge pull request #469 from UdjinM6/v0.12.0.x_tr_strings
eduffield82 Aug 2, 2015
c0af8b1
Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.1…
Aug 2, 2015
ef1dc84
Prepare testnet for upgrade
Aug 2, 2015
0387ebe
Version 35
Aug 2, 2015
28fe729
fix non-super block check
Aug 2, 2015
34d5fb1
remove checkpoint
Aug 2, 2015
9a18014
enable block cache
Aug 2, 2015
d1e6388
Undo try_locks for miner
Aug 2, 2015
d80feac
Reprocess before disconnect for rescan
Aug 2, 2015
f6721cb
Reconsider : typo, use i and break
Aug 2, 2015
334c3ea
Added ReprocessBlocks
Aug 2, 2015
18635f0
fix debug output
UdjinM6 Aug 3, 2015
e0031a8
Add superblock checks in various places
Aug 3, 2015
c7077dc
disable try-lock on IBD
Aug 3, 2015
92be126
Fixed bug with AutoCheck finalbudget voting
Aug 3, 2015
1f35a12
disable ix for fin budget submit
Aug 3, 2015
240bb10
fix rpc for darksend
UdjinM6 Aug 3, 2015
cc4b406
Merge pull request #470 from UdjinM6/v0.12.0.x_fix_rpc_darksend_lock
eduffield82 Aug 3, 2015
12d3203
add composite debug category dash=darksend+instantx+masternode+keepas…
UdjinM6 Aug 3, 2015
6ce9662
Merge pull request #471 from UdjinM6/v0.12.0.x_debug_categories
eduffield82 Aug 3, 2015
ecea4bf
client version bump
Aug 3, 2015
2e8445e
refactor IsBlockchainSynced
UdjinM6 Aug 3, 2015
66c3cc1
Merge pull request #472 from UdjinM6/v0.12.0.x_ref_IsBlockchainSynced
eduffield82 Aug 3, 2015
69087fd
fix release notes format
UdjinM6 Aug 3, 2015
a8931ce
Merge pull request #473 from UdjinM6/v0.12.0.x_fix_relese_note12
eduffield82 Aug 3, 2015
2235671
use fBlockchainSynced right on IsBlockchainSynced start
UdjinM6 Aug 3, 2015
76858b0
Merge pull request #474 from UdjinM6/v0.12.0.x_ref_IsBlockchainSynced
eduffield82 Aug 3, 2015
b4aaa11
translations >80%
UdjinM6 Aug 4, 2015
43fd168
Merge pull request #475 from UdjinM6/v0.12.0.x_translations
eduffield82 Aug 4, 2015
a0addf2
check collateral tx, find masternode before vote
Aug 4, 2015
c770283
Lower IX conf minimum
Aug 4, 2015
76959ea
Fixed GetBudget
Aug 4, 2015
0260e06
version bump
Aug 4, 2015
743f7fc
new wakeup/sleep sync code
Aug 4, 2015
57599e0
protocol bump
Aug 4, 2015
174f8a7
merge IsBlockchainSynced and WakeUp
UdjinM6 Aug 4, 2015
3f7e62e
cleanup CMasternodeSync a bit
UdjinM6 Aug 4, 2015
8220292
Merge pull request #476 from UdjinM6/v0.12.0.x_ref_wakeup
eduffield82 Aug 4, 2015
ff159ad
ConnectNode/FindNide:
UdjinM6 Aug 4, 2015
7d78c98
Few more lock-related fixes:
UdjinM6 Aug 4, 2015
14927d6
update release docs
Aug 5, 2015
bb55700
Keep track of and reprocess rejected blocks
Aug 5, 2015
6b74652
track hashes and update "last..." only twice per hash
UdjinM6 Aug 5, 2015
0d625c8
Merge pull request #478 from UdjinM6/v0.12.0.x_sync_added
eduffield82 Aug 5, 2015
903970d
clear mapSeenSync... on Reset
UdjinM6 Aug 5, 2015
801e597
added mnsync command
Aug 5, 2015
8bd8a89
IsBlockchainSynced in mnsync
Aug 5, 2015
54ac44e
relay dstx to everyone
UdjinM6 Aug 5, 2015
05dfffb
Merge pull request #482 from UdjinM6/v0.12.0.x_relay_dstx
eduffield82 Aug 5, 2015
42d7223
Merge pull request #479 from UdjinM6/v0.12.0.x_sync_added
eduffield82 Aug 5, 2015
9a9e7b7
strings/translation source fixes
UdjinM6 Aug 5, 2015
8f1c0e1
Merge pull request #485 from UdjinM6/v0.12.0.x_translations
eduffield82 Aug 5, 2015
e056220
Merge pull request #477 from UdjinM6/v0.12.0.x_locks
eduffield82 Aug 5, 2015
50c7b96
Try lock in ProcessGetData
Aug 5, 2015
a47585e
version bump
Aug 5, 2015
d251dc6
Keep track of immature budgets/proposals
Aug 6, 2015
6fdefce
Merge branch 'v12-premature-budget-items' into v0.12.0.x
Aug 6, 2015
fca0a6d
client bump
Aug 6, 2015
f94d980
Fixed --disablewallet crash
Aug 6, 2015
f57c470
ask for mn / lower ban score for mnw
UdjinM6 Aug 7, 2015
745142f
DS progress weights depend on DS rounds in settings / force overview …
UdjinM6 Aug 7, 2015
8063bcc
process DS,IX,MN,DGBB on IsBlockchainSynced, not on IBD
UdjinM6 Aug 7, 2015
8424dc7
Merge pull request #487 from UdjinM6/v0.12.0.x_ask_for_mn
eduffield82 Aug 7, 2015
491ccc8
Merge pull request #488 from UdjinM6/v0.12.0.x_over_scr
eduffield82 Aug 7, 2015
dac2b0f
Merge pull request #490 from UdjinM6/v0.12.0.x_process_on_IsBlockchai…
eduffield82 Aug 7, 2015
73e6cc4
Compare string version of CScript instead
Aug 7, 2015
f28e12f
more debugging for autocheck
Aug 7, 2015
572ebf4
prinf -> logprintf
Aug 7, 2015
e0ecfbd
allow logging for fbvote
Aug 7, 2015
33d5b7e
fix autocheck bug
Aug 7, 2015
528d2a5
fix log entries
Aug 7, 2015
0323689
add fbvote debugging / wallet lock
Aug 7, 2015
b8e7b84
extra debugging
Aug 7, 2015
ec3848c
Locks fixes:
UdjinM6 Aug 7, 2015
c1aa277
set a cooldown for MN check
UdjinM6 Aug 8, 2015
47b16ba
recognize comments in masternode.conf / write initial file
UdjinM6 Aug 8, 2015
e467727
limit scope of cs_wallet in PrepareDarksendDenominate
UdjinM6 Aug 8, 2015
dde2b26
add getvotes for fin bual budget
Aug 8, 2015
2575098
change superblocks to every 600 blocks
Aug 8, 2015
bed645f
version bump
Aug 8, 2015
2f479e4
Merge pull request #492 from UdjinM6/v0.12.0.x_mncheck
eduffield82 Aug 8, 2015
d5f7062
Merge pull request #493 from UdjinM6/v0.12.0.x_mnconf_comments
eduffield82 Aug 8, 2015
b67d049
Merge pull request #491 from UdjinM6/v0.12.0.x_locks_fixes
eduffield82 Aug 8, 2015
ed9e287
changed block cycle
Aug 8, 2015
9151acd
Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.1…
Aug 8, 2015
2f63f98
Add sync mode for budget processing
Aug 8, 2015
91bd9c7
fValid for mnfinalbudget
Aug 8, 2015
8049536
incremental sync with our peers
Aug 8, 2015
8e5c8d1
fix rpccommand fin budget getvotes
Aug 8, 2015
7d51866
more debugging for incr sync
Aug 8, 2015
e8ba732
Clear seen on boot and everyday
Aug 8, 2015
17a2587
more trylock+wait: rpc, GetHeight
UdjinM6 Aug 8, 2015
84264b0
millisleep 10->50 on trylock+wait
UdjinM6 Aug 8, 2015
b743112
bump time for sporks 8-10 to be off by default
UdjinM6 Aug 9, 2015
ba37415
support old masternodes
UdjinM6 Aug 9, 2015
5bd997f
more dsee/dseep for migration:
UdjinM6 Aug 9, 2015
fd3f505
Merge pull request #494 from UdjinM6/v0.12.0.x_dsee_dseep
eduffield82 Aug 9, 2015
d6ab60b
Merge pull request #495 from UdjinM6/v0.12.0.x_default_spork_off
eduffield82 Aug 9, 2015
d54d64d
Merge pull request #496 from UdjinM6/v0.12.0.x_locks_fixes
eduffield82 Aug 9, 2015
1d54f41
disable superblock spork
Aug 9, 2015
e599928
fix bugs in v12 dsee/dseep
UdjinM6 Aug 9, 2015
fc5be7e
version bump
Aug 9, 2015
7d00729
Merge pull request #497 from UdjinM6/v0.12.0.x_dsee_dseep
eduffield82 Aug 9, 2015
4046900
Use single random denom in new DS session
UdjinM6 Aug 9, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
src/version.cpp export-subst
src/clientversion.cpp export-subst
47 changes: 37 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,47 @@
*.sublime-project
*.sublime-workspace
todo.txt
reset-files.bash

*.tar.gz

*.exe
src/dash
src/dashd
src/dash-cli
src/dash-tx
src/test/test_dash
src/qt/test/test_dash-qt

# autoreconf
Makefile.in
aclocal.m4
autom4te.cache/
build-aux/config.guess
build-aux/config.sub
build-aux/depcomp
build-aux/install-sh
build-aux/ltmain.sh
build-aux/m4/libtool.m4
build-aux/m4/lt~obsolete.m4
build-aux/m4/ltoptions.m4
build-aux/m4/ltsugar.m4
build-aux/m4/ltversion.m4
build-aux/missing
build-aux/compile
build-aux/test-driver
config.log
config.status
configure
src/dash-config.h
src/dash-config.h.in
src/build-aux/
src/stamp-h1
libtool
src/config/dash-config.h
src/config/dash-config.h.in
src/config/stamp-h1
share/setup.nsi
share/qt/Info.plist

src/univalue/gen

src/qt/*.moc
src/qt/moc_*.cpp
src/qt/forms/ui_*.h
Expand All @@ -28,11 +50,13 @@ src/qt/test/moc*.cpp

.deps
.dirstamp
.libs
.*.swp
*.*~*
*.bak
*.rej
*.orig
*.pyc
*.o
*.o-*
*.patch
Expand All @@ -48,6 +72,10 @@ src/qt/test/moc*.cpp
*.json.h
*.raw.h

#libtool object files
*.lo
*.la

# Compilation and Qt preprocessor part
*.qm
Makefile
Expand All @@ -57,17 +85,13 @@ Dash-Qt.app
# Unit-tests
Makefile.test
dash-qt_test
src/test/buildenv.py

# Resources cpp
qrc_*.cpp

# Qt creator
*.pro.user
darkcoi*.config
*.creator
*.creator.user
darkcoi*.files
darkcoi*.includes

# Mac specific
.DS_Store
Expand All @@ -85,9 +109,12 @@ linux-coverage-build
linux-build
win32-build
qa/pull-tester/run-bitcoind-for-test.sh
qa/pull-tester/build-tests.sh
qa/pull-tester/tests-config.sh
qa/pull-tester/cache/*
qa/pull-tester/test.*/*

!src/leveldb*/Makefile

.cproject
.project
/doc/doxygen/
66 changes: 66 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# errata:
# - A travis bug causes caches to trample eachother when using the same
# compiler key (which we don't use anyway). This is worked around for now by
# replacing the "compilers" with a build name prefixed by the no-op ":"
# command. See: https://github.com/travis-ci/casher/issues/6

os: linux
language: cpp
env:
global:
- MAKEJOBS=-j3
- RUN_TESTS=false
- CCACHE_SIZE=100M
- CCACHE_TEMPDIR=/tmp/.ccache-temp
- CCACHE_COMPRESS=1
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
- SDK_URL=https://bitcoincore.org/depends-sources/sdks
cache:
apt: true
directories:
- depends/built
- depends/sdk-sources
- $HOME/.ccache
matrix:
fast_finish: true
include:
- compiler: ": ARM"
env: HOST=arm-linux-gnueabihf PACKAGES="g++-arm-linux-gnueabihf" DEP_OPTS="NO_QT=1" GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat"
- compiler: ": dashd"
env: HOST=x86_64-unknown-linux-gnu PACKAGES="bc" DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat CPPFLAGS=-DDEBUG_LOCKORDER"
- compiler: ": No wallet"
env: HOST=x86_64-unknown-linux-gnu DEP_OPTS="NO_WALLET=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat"
- compiler: ": 32-bit + dash"
env: HOST=i686-pc-linux-gnu PACKAGES="g++-multilib bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat" USE_SHELL="/bin/dash"
- compiler: ": Cross-Mac"
env: HOST=x86_64-apple-darwin11 PACKAGES="gcc-multilib g++-multilib cmake libcap-dev libz-dev libbz2-dev" OSX_SDK=10.7 GOAL="deploy"
- compiler: ": Win64"
env: HOST=x86_64-w64-mingw32 PACKAGES="nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev wine bc" RUN_TESTS=true GOAL="deploy" BITCOIN_CONFIG="--enable-gui" MAKEJOBS="-j2"
- compiler: ": Win32"
env: HOST=i686-w64-mingw32 PACKAGES="nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-dev wine bc" RUN_TESTS=true GOAL="deploy" BITCOIN_CONFIG="--enable-gui" MAKEJOBS="-j2"
install:
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get update; fi
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES; fi
before_script:
- unset CC; unset CXX
- mkdir -p depends/SDKs depends/sdk-sources
- if [ -n "$OSX_SDK" -a ! -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then wget $SDK_URL/MacOSX${OSX_SDK}.sdk.tar.gz -O depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi
- if [ -n "$OSX_SDK" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi
- make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
script:
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
- BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
- depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export CCACHE_READONLY=1; fi
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
- ./configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
- make distdir PACKAGE=dash VERSION=$HOST
- cd dash-$HOST
- ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
- make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )
- export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib
- if [ "$RUN_TESTS" = "true" ]; then make check; fi
- if [ "$RUN_TESTS" = "true" ]; then qa/pull-tester/rpc-tests.sh; fi
after_script:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then (echo "Upload goes here. Something like: scp -r $BASE_OUTDIR server" || echo "upload failed"); fi
3 changes: 1 addition & 2 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[main]
host = https://www.transifex.com

[dash.tx]
[dash.qt-translation-010x]
file_filter = src/qt/locale/dash_<lang>.ts
source_file = src/qt/locale/dash_en.ts
source_lang = en
type = QT
62 changes: 45 additions & 17 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I src/m4
ACLOCAL_AMFLAGS = -I build-aux/m4
SUBDIRS = src
.PHONY: deploy
.PHONY: deploy FORCE

GZIP_ENV="-9n"

Expand All @@ -26,7 +26,9 @@ WINDOWS_PACKAGING = $(top_srcdir)/share/pixmaps/bitcoin.ico \

OSX_PACKAGING = $(OSX_DEPLOY_SCRIPT) $(OSX_FANCY_PLIST) $(OSX_INSTALLER_ICONS) \
$(top_srcdir)/contrib/macdeploy/background.png \
$(top_srcdir)/contrib/macdeploy/DS_Store
$(top_srcdir)/contrib/macdeploy/DS_Store \
$(top_srcdir)/contrib/macdeploy/detached-sig-apply.sh \
$(top_srcdir)/contrib/macdeploy/detached-sig-create.sh

COVERAGE_INFO = baseline_filtered_combined.info baseline.info block_test.info \
leveldb_baseline.info test_dash_filtered.info total_coverage.info \
Expand All @@ -35,7 +37,8 @@ COVERAGE_INFO = baseline_filtered_combined.info baseline.info block_test.info \

dist-hook:
-$(MAKE) -C $(top_distdir)/src/leveldb clean
-$(GIT) archive --format=tar HEAD -- src/version.cpp | $(AMTAR) -C $(top_distdir) -xf -
-$(MAKE) -C $(top_distdir)/src/secp256k1 distclean
-$(GIT) archive --format=tar HEAD -- src/clientversion.cpp | $(AMTAR) -C $(top_distdir) -xf -

distcheck-hook:
$(MKDIR_P) $(top_distdir)/_build/src/leveldb
Expand All @@ -45,16 +48,16 @@ distcheck-hook:
distcleancheck:
@:

$(BITCOIN_WIN_INSTALLER): $(BITCOIND_BIN) $(BITCOIN_QT_BIN) $(BITCOIN_CLI_BIN)
$(BITCOIN_WIN_INSTALLER): all-recursive
$(MKDIR_P) $(top_builddir)/release
STRIPPROG="$(STRIP)" $(INSTALL_STRIP_PROGRAM) $(BITCOIND_BIN) $(top_builddir)/release
STRIPPROG="$(STRIP)" $(INSTALL_STRIP_PROGRAM) $(BITCOIN_QT_BIN) $(top_builddir)/release
STRIPPROG="$(STRIP)" $(INSTALL_STRIP_PROGRAM) $(BITCOIN_CLI_BIN) $(top_builddir)/release
@test -f $(MAKENSIS) && $(MAKENSIS) $(top_builddir)/share/setup.nsi || \
echo error: could not build $@

$(BITCOIND_BIN) $(BITCOIN_QT_BIN) $(BITCOIN_CLI_BIN):
make -C $(dir $@) $(notdir $@)
$(if $(findstring src/,$(MAKECMDGOALS)),$(MAKECMDGOALS), none): FORCE
$(MAKE) -C src $(patsubst src/%,%,$@)

$(OSX_APP)/Contents/PkgInfo:
$(MKDIR_P) $(@D)
Expand Down Expand Up @@ -82,16 +85,32 @@ OSX_APP_BUILT=$(OSX_APP)/Contents/PkgInfo $(OSX_APP)/Contents/Resources/empty.lp

if BUILD_DARWIN
$(OSX_DMG): $(OSX_APP_BUILT) $(OSX_PACKAGING)
$(OSX_DEPLOY_SCRIPT) $(OSX_APP) -add-qt-tr $(OSX_QT_TRANSLATIONS) -dmg -fancy $(OSX_FANCY_PLIST) -verbose 2
$(OSX_DEPLOY_SCRIPT) $(OSX_APP) -add-qt-tr $(OSX_QT_TRANSLATIONS) -translations-dir=$(QT_TRANSLATION_DIR) -dmg -fancy $(OSX_FANCY_PLIST) -verbose 2

deploydir: $(OSX_DMG)
else
$(OSX_DMG): $(OSX_APP_BUILT) $(OSX_PACKAGING)
INSTALLNAMETOOL=$(INSTALLNAMETOOL) OTOOL=$(OTOOL) STRIP=$(STRIP) $(OSX_DEPLOY_SCRIPT) $(OSX_APP) -add-qt-tr $(OSX_QT_TRANSLATIONS) -verbose 2
$(MKDIR_P) dist/.background
$(INSTALL) contrib/macdeploy/background.png dist/.background
$(INSTALL) contrib/macdeploy/DS_Store dist/.DS_Store
cd dist; $(LN_S) /Applications Applications
$(GENISOIMAGE) -no-cache-inodes -l -probe -V "Dash-Qt" -no-pad -r -apple -o $@ dist
APP_DIST_DIR=$(top_builddir)/dist
APP_DIST_EXTRAS=$(APP_DIST_DIR)/.background/background.png $(APP_DIST_DIR)/.DS_Store $(APP_DIST_DIR)/Applications

$(APP_DIST_DIR)/Applications:
@rm -f $@
@cd $(@D); $(LN_S) /Applications $(@F)

$(APP_DIST_EXTRAS): $(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Dash-Qt

$(OSX_DMG): $(APP_DIST_EXTRAS)
$(GENISOIMAGE) -no-cache-inodes -D -l -probe -V "Dash-Qt" -no-pad -r -apple -o $@ dist

$(APP_DIST_DIR)/.background/background.png:
$(MKDIR_P) $(@D)
$(INSTALL) $(top_srcdir)/contrib/macdeploy/background.png $@
$(APP_DIST_DIR)/.DS_Store:
$(INSTALL) $(top_srcdir)/contrib/macdeploy/DS_Store $@

$(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Dash-Qt: $(OSX_APP_BUILT) $(OSX_PACKAGING)
INSTALLNAMETOOL=$(INSTALLNAMETOOL) OTOOL=$(OTOOL) STRIP=$(STRIP) $(OSX_DEPLOY_SCRIPT) $(OSX_APP) -translations-dir=$(QT_TRANSLATION_DIR) -add-qt-tr $(OSX_QT_TRANSLATIONS) -verbose 2

deploydir: $(APP_DIST_EXTRAS)
endif

if TARGET_DARWIN
Expand All @@ -102,6 +121,15 @@ if TARGET_WINDOWS
deploy: $(BITCOIN_WIN_INSTALLER)
endif

$(BITCOIN_QT_BIN): FORCE
$(MAKE) -C src qt/$(@F)

$(BITCOIND_BIN): FORCE
$(MAKE) -C src $(@F)

$(BITCOIN_CLI_BIN): FORCE
$(MAKE) -C src $(@F)

if USE_LCOV

baseline.info:
Expand Down Expand Up @@ -159,10 +187,10 @@ endif
if USE_COMPARISON_TOOL
check-local:
$(MKDIR_P) qa/tmp
@qa/pull-tester/run-bitcoind-for-test.sh $(JAVA) -jar $(JAVA_COMPARISON_TOOL) qa/tmp/compTool $(COMPARISON_TOOL_REORG_TESTS)
@qa/pull-tester/run-bitcoind-for-test.sh $(JAVA) -jar $(JAVA_COMPARISON_TOOL) qa/tmp/compTool $(COMPARISON_TOOL_REORG_TESTS) 2>&1
endif

EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/pull-tester.sh qa/rpc-tests $(DIST_DOCS) $(WINDOWS_PACKAGING) $(OSX_PACKAGING)
EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/rpc-tests.sh qa/pull-tester/run-bitcoin-cli qa/rpc-tests $(DIST_DOCS) $(WINDOWS_PACKAGING) $(OSX_PACKAGING)

CLEANFILES = $(OSX_DMG) $(BITCOIN_WIN_INSTALLER)

Expand Down
Loading