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

v12.2.5 Release #12

Merged
merged 310 commits into from
Mar 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
310 commits
Select commit Hold shift + click to select a range
1fce4f3
rename nEpochStart variable and adjust comments (#1915)
nmarley Feb 12, 2018
caff452
Remove excessive custom validation in CProposalValidator::ValidatePay…
UdjinM6 Feb 12, 2018
3c0869b
Fix connectivity check in CActiveMasternode::ManageStateInitial (#1918)
UdjinM6 Feb 12, 2018
7f74725
Move prev/next sb height logic from rpc to CSuperblock::GetNearestSup…
UdjinM6 Feb 12, 2018
6ff4331
Skip next mn payments winners when selecting a MN to mix on (#1921)
UdjinM6 Feb 12, 2018
e33eea8
Drop unnecessary AcceptToMemoryPool in PS (and corresponding cs-main …
UdjinM6 Feb 12, 2018
2d6a3f2
Switch nTimeLastSuccessfulStep from GetTimeMillis() to GetTime() (#1923)
UdjinM6 Feb 12, 2018
d5af519
Replace some instantsend/privatesend magic numbers
UdjinM6 Feb 12, 2018
e9a45e9
Add DSHA256 and X11 benchmarks, refactor names of other algo benchmar…
UdjinM6 Feb 12, 2018
79b353b
Replace boost::lexical_cast<int> with atoi (#1926)
UdjinM6 Feb 12, 2018
43cc793
Slightly refactor AutoBackupWallet (#1927)
UdjinM6 Feb 12, 2018
e1680e0
Refactor: use constant refs and `Ret` suffix
UdjinM6 Feb 12, 2018
0ded12c
Dseg fixes (#1929)
UdjinM6 Feb 12, 2018
52d9d8c
Refactor CGovernanceManager::Sync (split in two) (#1930)
UdjinM6 Feb 12, 2018
6928653
Fix nDelayGetHeadersTime (int64_t max == never delay)
UdjinM6 Feb 12, 2018
e77b954
Fix trigger execution and expiration (#1920)
UdjinM6 Feb 12, 2018
bc9fea7
Use `override` keyword for overriden class member functions (#1644)
Feb 15, 2018
859c5a4
Refactor: vecTxIn -> vecOutPoints for CompactTallyItem (#1932)
UdjinM6 Feb 15, 2018
2482d5c
Switch masternode id in ABS data structures from CTxIn to COutPoint
UdjinM6 Feb 15, 2018
786edeb
Change format of gobject, store/transmit vchData instead of hex-encod…
UdjinM6 Feb 15, 2018
b4568fb
Force masternodes to have listen=1 and maxconnections to be at least …
UdjinM6 Feb 15, 2018
8b3c694
Head merge Flags remove
CryptoCentric Feb 28, 2019
c7905c9
Absification of consensus
CryptoCentric Feb 28, 2019
e4ea3c2
absoluteconsensus_error fix
CryptoCentric Feb 28, 2019
6c9b5ca
Further Absifications
CryptoCentric Feb 28, 2019
1771faa
Few (mostly trivial) cleanups and fixes
CryptoCentric Feb 28, 2019
3e5251c
Deprecate nMnCount in mnget (#1942)
UdjinM6 Feb 21, 2018
ab073d2
Make TrafficGraphDataTests more general (#1943)
UdjinM6 Feb 21, 2018
55a0e9c
Call CheckMnbAndUpdateMasternodeList when starting MN (#1945)
codablock Feb 21, 2018
0ea0601
Store CGovernanceVote hash in memory instead of recalculating
UdjinM6 Feb 21, 2018
2589fb5
Merge bitcoin#9476: [refactor] Remove using namespace <xxx>
laanwj Mar 9, 2017
d191e6b
Merge bitcoin#9643: [refactor] Remove using namespace <xxx>
laanwj Mar 9, 2017
2c5c67d
Remove remaining `using namespace std`
UdjinM6 Feb 21, 2018
4c357c0
Fix std in DBG macro
UdjinM6 Feb 21, 2018
177b05e
rpc - Update getaddednodeinfo help to remove dummy argument (#1947)
thephez Feb 22, 2018
84e5bec
Fix unlocking error on "Start Mixing"
UdjinM6 Feb 22, 2018
a3a6158
Refactor IS votes processing (#1951)
UdjinM6 Feb 25, 2018
f8effdf
Adjust/fix log output (#1954)
UdjinM6 Feb 26, 2018
1dcdcc1
Fix BIP147 deployment threshold parameter (#1955)
codablock Feb 27, 2018
33f6021
CProposalValidator refactoring and follow up fixes
UdjinM6 Feb 27, 2018
24135d9
simplify gobject JSON format, remove unused fields (#1902)
nmarley Feb 27, 2018
2f70993
Various RPC fixes
UdjinM6 Mar 1, 2018
1ce90c9
Multiple devnet fixes
codablock Mar 2, 2018
cd1dcd1
Update protocol-documentation.md (#1964)
UdjinM6 Mar 2, 2018
0465fb4
Rename CheckPreviousBlockVotes to CheckBlockVotes and adjust its log …
UdjinM6 Mar 5, 2018
a316043
Switch CNetFulfilledRequestManager and CMasternodeMan maps/funcs to …
UdjinM6 Mar 8, 2018
5f9134c
[GUI] Create QR-code for Masternode private key
crowning- Mar 8, 2018
eb00e67
RPC: Add `listaddressbalances` (#1972)
UdjinM6 Mar 8, 2018
2386fec
Refactor `CMasternodePayment*` (#1974)
UdjinM6 Mar 8, 2018
ee4d510
Don't use short version of 'tinyformat/fmt' namespace in util.h (#1975)
codablock Mar 8, 2018
8f8b8e0
[Init] Avoid segfault when called with -enableinstantsend=0 (#1976)
crowning- Mar 8, 2018
14def84
[RPC] Few additions to masternodelist
UdjinM6 Mar 8, 2018
a2729b2
Add dummy CMakeLists.txt file to make development with CLion easier (…
codablock Mar 9, 2018
d88cf84
Include "clientversion.h" in rpc/masternode.cpp (#1979)
codablock Mar 9, 2018
09725ea
Fix some (potential dead)locks (#1977)
UdjinM6 Mar 9, 2018
43fefd9
Draw text on top of everything else in TrafficGraphWidget (#1944)
UdjinM6 Mar 10, 2018
d29a6a4
Network-specific thresholds for required confirmations
UdjinM6 Mar 10, 2018
c2c4704
Use operator[] instead of emplace in CMasternodePayments::AddPaymentV…
codablock Mar 10, 2018
19fd824
Fix listaddressbalances (#1987)
UdjinM6 Mar 14, 2018
af1e397
Fix the bug in CGovernanceObject::ProcessVote() (#1989)
UdjinM6 Mar 14, 2018
1664ad2
Warn when more than 50% of masternodes are using newer version (#1963)
UdjinM6 Mar 15, 2018
33ecbe9
Reject Dash-specific messages from obsolete peers (#1983)
UdjinM6 Mar 15, 2018
c31deb7
Allow data outputs in PS collaterals (#1984)
UdjinM6 Mar 15, 2018
24216b5
Add missing includes required for compilation with --disable-wallet f…
UdjinM6 Mar 15, 2018
6d7ab48
Convert `gobject count` output to json (by default) (#1994)
UdjinM6 Mar 15, 2018
9f71dc7
A pack of small fixes
UdjinM6 Mar 19, 2018
5f3e882
Drop Nx requirements for PS collaterals (#1995)
UdjinM6 Mar 19, 2018
26618e4
Fix TransactionRecord::PrivateSendMakeCollaterals tx type (#1996)
UdjinM6 Mar 19, 2018
abbc1a9
Add missing cs_main locks
UdjinM6 Mar 19, 2018
19b9874
Refactor and fix restart (#1999)
UdjinM6 Mar 19, 2018
fcb8e42
Refactor governance
UdjinM6 Mar 20, 2018
c6b847b
Limit the scope of cs_wallet lock in CPrivateSendClient::PrepareDenom…
UdjinM6 Mar 20, 2018
32044cc
Don't hold cs_storage in CKeyHolderStorage while calling functions wh…
UdjinM6 Mar 20, 2018
773b668
Avoid repeating the full scan in CMasternodeMan::UpdateLastPaid() on …
UdjinM6 Mar 21, 2018
a8cf259
Clarify the warning displayed when encrypting HD wallet
UdjinM6 Mar 21, 2018
0f537fb
Validate proposals for expiration (#2003)
UdjinM6 Mar 21, 2018
84c010e
Fix CInstantSend::GetTxLockRequest() (#2006)
UdjinM6 Mar 21, 2018
e32f11b
Avoid processing tx lock request twice in the wallet it was sent from…
UdjinM6 Mar 21, 2018
fc08cd3
Check if in masternode mode first and only then do the job (or not)
UdjinM6 Mar 21, 2018
28cbd40
No POOL_STATE_ERROR or POOL_STATE_SUCCESS on masternodes (#2009)
UdjinM6 Mar 21, 2018
44d2b40
Locked txes should not expire until mined and have sufficient confirm…
UdjinM6 Mar 29, 2018
4b0ca77
Few fixes for lite mode (#2014)
UdjinM6 Mar 29, 2018
f4c1d07
Fix instantsend in testnet and regtest (#2016)
codablock Mar 29, 2018
9a09988
Validate data size for proposals only (#2004)
UdjinM6 Apr 5, 2018
ac2c116
Fix a very ancient bug from mid 2015 (#2021)
UdjinM6 Apr 5, 2018
dd3fd51
Backport compact blocks functionality from bitcoin
Apr 11, 2018
cccdfb6
Add tests for GetBlockSubsidy algorithm (#2022)
nmarley Apr 11, 2018
24dc8fc
Revert "Merge bitcoin#7542: Implement "feefilter" P2P message" (#2025)
codablock Apr 11, 2018
8b1f4cf
Correctly update pindexBestHeader and pindexBestInvalid in Invalidate…
codablock Apr 15, 2018
96930b5
Run tests in mocked time
UdjinM6 Apr 18, 2018
328f53a
Fix netfulfilledman usage (#2033)
UdjinM6 Apr 18, 2018
814278a
Release notes cleanup
UdjinM6 Apr 18, 2018
6d747d1
Absification lib names
UdjinM6 Apr 18, 2018
555113c
Remove duplication of "class CBlockIndex;" (#2036)
Duality-CDOO Apr 18, 2018
73a90a1
Add `forkpoint` to `getchaintips` (#2039)
UdjinM6 Apr 18, 2018
5fedbb5
Drop delayed headers logic and fix duplicate initial headers sync by
UdjinM6 Apr 20, 2018
c5aef08
Update BIP147 deployment times, nMinimumChainWork and defaultAssumeV
codablock Apr 20, 2018
109b5de
clean up governance vote code (#2042)
nmarley Apr 23, 2018
952429d
replace boost iterators in dash-specific code (#2048)
nmarley Apr 23, 2018
d3142c4
RPC: Add description for InstantSend-related fields of mempool entry …
UdjinM6 Apr 29, 2018
6bd417f
Fix transaction/block versions for devnet genesis blocks
UdjinM6 May 13, 2018
c6ea3fd
Check devnet genesis
UdjinM6 May 13, 2018
8ab9e15
Comment updates - InstantSend (#2062)
thephez May 13, 2018
04972d6
Fix potential DoS vector for masternode payments (#2071)
UdjinM6 May 26, 2018
27a3cc0
Add string_cast benchmark (#2073)
UdjinM6 May 26, 2018
d3c9c8b
fix SelectCoinsByDenominations (#2074)
UdjinM6 May 26, 2018
febb1e3
Require all participants to submit equal number of inputs
UdjinM6 May 26, 2018
da75d03
ThreadOpenMasternodeConnections should process only one mn at a time …
UdjinM6 May 26, 2018
d95a0bd
Gitian Update
CryptoCentric Mar 1, 2019
4309fe6
Fix copying of final binaries
codablock May 31, 2018
c20c266
Fix JoinExistingQueue bug (#2100)
UdjinM6 Jun 6, 2018
3147740
Bump few consts (#2096)
UdjinM6 Jun 6, 2018
230b419
Drop trigger objects when triggers are deleted or failed to be created
UdjinM6 Jun 6, 2018
7feaca2
Drop "MAY, 2018" clause for proposal validation on mainnet (#2101)
UdjinM6 Jun 6, 2018
191d72f
Bump remaining min protocols
CryptoCentric Mar 1, 2019
29e441a
RPC: fix wallet lock check in `privatesend start` (#2102)
UdjinM6 Jun 11, 2018
110abd6
Do not create oversized transactions (bad-txns-oversize) (#2103)
UdjinM6 Jun 11, 2018
7c376af
Remove explicit wallet lock in MasternodeList::StartAll() (#2106)
SemenMartynov Jun 11, 2018
4bab252
Limit IS quorums by updated MNs only (#2107)
UdjinM6 Jun 11, 2018
c9c9d97
Partially revert 1922 (#2108)
UdjinM6 Jun 11, 2018
7298efc
sendrawtransaction no longer bypasses transaction policy limits by de
UdjinM6 Jun 12, 2018
2a8ec5d
Fix rpc tests broken by 2110 (#2118)
UdjinM6 Jun 12, 2018
8bffcac
Do not create mnb until sync is finished (#2122)
UdjinM6 Jun 18, 2018
b31d970
Fix CVE-2018-12356 by hardening the regex (#2126)
UdjinM6 Jun 18, 2018
e9265f4
Don't drop mnb-s for outdated MNs (#2131)
UdjinM6 Jun 18, 2018
db23e83
RPC: dumphdinfo should throw an error when wallet isn't HD (#2134)
PastaPastaPasta Jun 19, 2018
b3f4377
Bump SERIALIZATION_VERSION_STRINGs (#2136)
UdjinM6 Jun 19, 2018
1f8f6d4
Fix an edge case in PrepareDenominate (#2138)
InhumanPerfection Jun 22, 2018
786151c
Make PS Buttons not react to spacebar (#2154)
PastaPastaPasta Jul 7, 2018
991e0f8
Sync mn list and mnw list from 3 peers max (#2169)
UdjinM6 Jul 7, 2018
dbaffd9
Fix issues with selections on Masternode tab (#2170)
UdjinM6 Jul 7, 2018
f78c23b
Remove redundant parameter fCheckDuplicateInputs from CheckTransaction
UdjinM6 Sep 18, 2018
1319982
PoVNET Head Remove
sdaftuar Sep 17, 2018
a0a4551
Drop watchdogs, replace them with sentinel pings
UdjinM6 Feb 25, 2018
782f830
Swap `expired` and `sentinel_expired` states in order (#1961)
UdjinM6 Mar 2, 2018
74a2db2
add mapObjects
CryptoCentric Mar 1, 2019
e225106
Use SPORK_6_NEW_SIGS to switch from signing string messages to hashes
UdjinM6 Feb 16, 2018
5635152
Refactor governance
UdjinM6 Mar 20, 2018
d9faf95
validator insert
UdjinM6 Mar 21, 2018
aa59038
Store CGovernanceVote hash
UdjinM6 Feb 21, 2018
582694d
Governance related updates
UdjinM6 Feb 21, 2018
e756d5f
Split sentinel expiration in CMasternode
UdjinM6 Jun 18, 2018
4a69b35
small cleanup
nmarley May 13, 2018
0350634
A few devnet related fixes
codablock Jul 7, 2018
0bcda77
Simplify spork defaults by using a map
nmarley Apr 18, 2018
ef7ff26
Revert Bump transaction version default to 2"
CryptoCentric Mar 6, 2019
19358f4
Adjust BIP 34 Hash
CryptoCentric Mar 6, 2019
e384da1
Expect old version protocols for convertion
CryptoCentric Mar 2, 2019
1ff061c
Absification of headers
CryptoCentric Mar 1, 2019
1e29fa9
Add SB blockhash
CryptoCentric Mar 1, 2019
debb4a6
PrivateSend client updates
CryptoCentric Mar 1, 2019
55b4c60
Pow note add
CryptoCentric Mar 1, 2019
d68e792
BLOCK_MAX increase
CryptoCentric Mar 1, 2019
c5972ac
Add nSuperblockStartHash and DIP0001Height
CryptoCentric Mar 1, 2019
68d5c72
UniValue typo
CryptoCentric Mar 1, 2019
210b3c6
Cleanup of files
CryptoCentric Mar 1, 2019
a0228c9
Replace watchdogs with ping
Jul 4, 2017
b798bc8
Absify further lib in make.qt
CryptoCentric Mar 7, 2019
485617d
RPC: Add support for JSON-RPC named arguments
laanwj Jan 10, 2017
bcd4233
Register calls where they are defined fix
laanwj Mar 31, 2016
396c0cc
Spork - Disconnect old Masternodes
CryptoCentric Mar 7, 2019
775e9fe
Cleanup (mostly trivial)
UdjinM6 Apr 20, 2018
0116f8f
Give RPC commands more information
laanwj Oct 19, 2016
75d6429
Remove bogus "nVersion = this->nVersion" assignment missed from Backp…
codablock Sep 19, 2017
87838f6
Add Boost Test from on 8708 Backport
CryptoCentric Mar 7, 2019
69ccc9e
Silence ratecheck_test (#1873)
UdjinM6 Jan 26, 2018
500d3b3
Fix p2pkh tests asserts (#2153)
wozniakk Jun 28, 2018
c47fecc
Refactor: Remove using namespace
Jan 5, 2017
08a7c3b
RPC: fix generatetoaddress failing to parse address
laanwj Apr 3, 2016
571ae76
Refactor masternode fixup
UdjinM6 Sep 11, 2017
e8b9b9a
Introduce DIP0001Height
UdjinM6 Mar 8, 2018
3215ae3
Make CopyrightHolders more generic
CryptoCentric Mar 7, 2019
d4f87dc
Return reduction to current mainnet specifications
CryptoCentric Mar 7, 2019
cb3b3f4
manpages daemon typo
CryptoCentric Mar 8, 2019
0a72468
remove watchdog from activemasternode
CryptoCentric Mar 8, 2019
d6bc5e7
Eliminate remaining uses of g_connma in ABS
CryptoCentric Mar 8, 2019
25cb5d0
remove watchdog cleanup
CryptoCentric Mar 8, 2019
fa0f7da
Use correct protocol when serializing messages in reply to `getdata` …
UdjinM6 Jun 30, 2018
0c57d22
Sentinel: LastSentinelPing add
CryptoCentric Mar 8, 2019
c8a8963
masternode outpoint refactor continued
Aug 11, 2017
a4aa04d
Min to default Sentinel version
CryptoCentric Mar 8, 2019
17da939
Remove additional Sentinel checks
CryptoCentric Mar 8, 2019
81d0c0b
Masternode classes: Remove repeated/un-needed code and data (#1572)
UdjinM6 Feb 1, 2018
47a4da6
Fix block value/payee validation in lite mode (#2148)
UdjinM6 Jun 28, 2018
6f3e63d
Fix issues with mnp, mnw and dsq signatures
UdjinM6 Feb 15, 2018
6163591
Chainbase update for POVNET
CryptoCentric Mar 8, 2019
ccb4e72
adjust min block time calculations and engagement
CryptoCentric Mar 8, 2019
e41e9c7
Add KimotoGravityWell
CryptoCentric Mar 9, 2019
a0c92ba
Absified typo
CryptoCentric Mar 9, 2019
ee2b376
Add Int nPowKGWHeight
CryptoCentric Mar 9, 2019
0b59e5a
Clean up masternode list and Sentinel
CryptoCentric Mar 9, 2019
fb1f6fd
Remove old Spork switches
CryptoCentric Mar 9, 2019
92030ce
Bump masternode man version
CryptoCentric Mar 11, 2019
1102632
Add SafeIntVersionToString
CryptoCentric Mar 11, 2019
e404065
Update Spork start and end
CryptoCentric Mar 11, 2019
5a5fcf0
Clean up & Absification
CryptoCentric Mar 11, 2019
465a2aa
remove pubkey
CryptoCentric Mar 11, 2019
fe96dfb
QT Theme Absification
CryptoCentric Mar 11, 2019
4cc9496
Add Absolute Notes
CryptoCentric Mar 11, 2019
93d2db1
Remove nDelay
CryptoCentric Mar 11, 2019
349c358
Adjust Win Gitian to absolutecore
CryptoCentric Mar 11, 2019
0351df4
QT Input output image change
CryptoCentric Mar 12, 2019
e989e1c
Increase col width on masternodelist
CryptoCentric Mar 12, 2019
228f0b0
Clean up fix xcb
CryptoCentric Mar 12, 2019
2b0670d
Backport: Fix Qt build with XCode (for depends) (#2325)
UdjinM6 Sep 30, 2018
83295d8
Contrib Cleanup
CryptoCentric Mar 13, 2019
3c37b3c
Remove Obsolete
CryptoCentric Mar 13, 2019
226a5c9
Bump transaction version default to 2
laanwj Dec 15, 2016
1e38cca
Reformat wallet version and add to Makefile
CryptoCentric Mar 14, 2019
201667d
Data Storage statement adjustment
CryptoCentric Mar 14, 2019
a8541ce
Testnet timing Change
CryptoCentric Mar 14, 2019
b050dcf
resync release notes applicable to ABS
CryptoCentric Mar 14, 2019
3a1584e
Cleanup of obsolete
CryptoCentric Mar 14, 2019
f25482d
Remove -listenonion
CryptoCentric Mar 14, 2019
7f19419
Manpages update ABS
CryptoCentric Mar 14, 2019
6f6b115
Add gitian sigs
CryptoCentric Mar 14, 2019
76d4a66
Absify translate
CryptoCentric Mar 14, 2019
8bd9667
Build Include docker in Gitian script
CryptoCentric Mar 14, 2019
4324ad7
Cleanup of mac deploy
CryptoCentric Mar 14, 2019
91a6831
remove obsolete manpage
CryptoCentric Mar 14, 2019
857e27d
flag as unreleased
CryptoCentric Mar 14, 2019
b04aba5
Remove Misc Gov triggers
CryptoCentric Mar 14, 2019
982ece2
Remove duplicate of spork manager
CryptoCentric Mar 15, 2019
cf96c16
bump min MN payments
CryptoCentric Mar 15, 2019
74b6d7e
Set POWKGW height
CryptoCentric Mar 15, 2019
bfe0bd8
Increase start block for POWKGW
UdjinM6 Jun 18, 2018
5c09117
Set nSubsidyDivide block number
CryptoCentric Mar 19, 2019
929342d
QT tx image swap
CryptoCentric Mar 20, 2019
081cd1b
Test Update testenet params
CryptoCentric Mar 22, 2019
384665e
Test unify testnets
CryptoCentric Mar 22, 2019
4e0ff3e
Test Set MasternodePaymentsStartBlock block
CryptoCentric Mar 22, 2019
1bd3a13
Installer Script support for Ubuntu 18.04
CryptoCentric Mar 22, 2019
dcec368
Merge branch 'v12.2.5PRBR4' of https://github.com/absolute-community/…
CryptoCentric Mar 22, 2019
d507b14
Remove KGW and fPowAllowMinDifficultyBlocks
CryptoCentric Mar 22, 2019
ed6c323
Adjust testnet alignment with older version
CryptoCentric Mar 22, 2019
054c7cb
Test Bump testnet v4
CryptoCentric Mar 22, 2019
7dd42f7
AllowMinDifficultyBlocks Adjustments for PoVNET
CryptoCentric Mar 22, 2019
cfb18d4
Adjust for DGW only including PoVNET
CryptoCentric Mar 22, 2019
d59689d
KGWHeight from PoVNET
CryptoCentric Mar 22, 2019
9232f63
Set Checkpoints up to 1 Year Gen
CryptoCentric Mar 22, 2019
0d02158
Set No Sentinel Ping
CryptoCentric Mar 22, 2019
03091bd
Merge branch 'v12.2.5PRBR4' of https://github.com/absolute-community/…
CryptoCentric Mar 22, 2019
e9341c8
QT Adjust overview page frame widths
CryptoCentric Mar 23, 2019
cf6e8bf
QT Overview is too large reduced to square
CryptoCentric Mar 23, 2019
c49a2f4
Qt Image and icon cleanup
CryptoCentric Mar 24, 2019
e9f48fb
Chain Set hardcoded seeds
CryptoCentric Mar 24, 2019
106c02a
Build Set release flag
CryptoCentric Mar 24, 2019
b695960
Spork Update disconnect of 70209
CryptoCentric Mar 24, 2019
2a02b45
Merge branch 'master' into v12.2.5PRBR4
CryptoCentric Mar 24, 2019
b443ebd
Chain Set BIP 65 and 66 Height
CryptoCentric Mar 24, 2019
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 .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Tell us what happens instead
### Screenshots.
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.

### What version of absolute-core are you using?
### What version of Absolute core are you using?
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.

### Machine specs:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,7 @@ absoluted
absolute-qt
make
/docker/bin

# CLion
.idea
cmake-build-debug
65 changes: 65 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# This CMakeLists.txt is not meant to actually work!
# It only serves as a dummy project to make CLion work properly when it comes to symbol resolution and all the nice
# features dependent on that. Building must still be done on the command line using the automake build chain
# If you load this project in CLion and would like to run/debug executables, make sure to remove the "Build" entry from
# the run/debug configuration as otherwise CLion will try to build this project with cmake, failing horribly.
# You'll also have to manually change the executable in the configuration to the correct path of the already built executable

cmake_minimum_required(VERSION 3.7)
project(absolute)

set(CMAKE_CXX_STANDARD 11)

include_directories(
src
src/leveldb/include
src/univalue/include
)

add_definitions(
-DENABLE_WALLET=1
)

file(GLOB SOURCE_FILES
src/bench/*.cpp
src/bench/*.h
src/compat/*.cpp
src/compat/*.h
src/consensus/*.h
src/consensus/*.cpp
src/crypto/*.c
src/crypto/*.h
src/crypto/*.cpp
src/leveldb/db/*.cc
src/leveldb/db/*.h
src/leveldb/include/*.h
src/policy/*.cpp
src/policy/*.h
src/primitives/*.cpp
src/primitives/*.h
src/qt/test/*.cpp
src/qt/test/*.h
src/qt/*.cpp
src/qt/*.h
src/script/*.cpp
src/script/*.h
src/secp256k1/include/*.h
src/test/*.cpp
src/test/*.h
src/univalue/include/*.h
src/univalue/lib/*.cpp
src/univalue/lib/*.h
src/wallet/test/*.cpp
src/wallet/*.cpp
src/wallet/*.h
src/zmq/*.cpp
src/zmq/*.h
src/*.cpp
src/*.h
src/evo/*.h
src/evo/*.cpp
src/rpc/*.cpp
src/rpc/*.h
)

add_executable(absolute ${SOURCE_FILES})
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Development Process

The `master` branch is meant to be stable. Development is normally done in separate branches.
[Tags](https://github.com/absolute-community/absolute/tags) are created to indicate new official,
stable release versions of Dash Core.
stable release versions of Absolute Core.

The contribution workflow is described in [CONTRIBUTING.md](CONTRIBUTING.md).

Expand Down
53 changes: 28 additions & 25 deletions absolute-docs/protocol-documentation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Protocol Documentation - 0.12.2
=====================================

This document describes the protocol extensions for all additional functionality build into the Dash protocol. This doesn't include any of the Bitcoin protocol, which has been left intact in the Dash project. For more information about the core protocol, please see https://en.bitcoin.it/w/index.php?title#Protocol_documentation&action#edit
This document describes the protocol extensions for all additional functionality build into the Absolute protocol. This doesn't include any of the Bitcoin protocol, which has been left intact in the Absolute project. For more information about the core protocol, please see https://en.bitcoin.it/w/index.php?title#Protocol_documentation&action#edit

## Common Structures

Expand Down Expand Up @@ -47,9 +47,9 @@ Bitcoin Output https://bitcoin.org/en/glossary/output
| ---------- | ----------- | --------- | ---------- |
| 4 | nVersion | int32_t | Transaction data format version
| 1+ | tx_in count | var_int | Number of Transaction inputs
| 41+ | vin | [CTxIn](#ctxin) | A list of 1 or more transaction inputs
| 41+ | vin | [CTxIn](#ctxin)[] | A list of 1 or more transaction inputs
| 1+ | tx_out count | var_int | Number of Transaction outputs
| 9+ | vout | [CTxOut](#ctxout) | A list of 1 or more transaction outputs
| 9+ | vout | [CTxOut](#ctxout)[] | A list of 1 or more transaction outputs
| 4 | nLockTime | uint32_t | The block number or timestamp at which this transaction is unlocked

### CPubKey
Expand Down Expand Up @@ -77,15 +77,14 @@ Whenever a masternode comes online or a client is syncing, they will send this m

| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| 41 | vin | [CTxIn](#ctxin) | The unspent output which is holding 1000 DASH
| 36 | outpoint | [COutPoint](#coutpoint) | The unspent output which is holding 1000 ABSOLUTE
| # | addr | [CService](#cservice) | IPv4 address of the masternode
| 33-65 | pubKeyCollateralAddress | [CPubKey](#cpubkey) | CPubKey of the main 1000 DASH unspent output
| 33-65 | pubKeyCollateralAddress | [CPubKey](#cpubkey) | CPubKey of the main 1000 ABSOLUTE unspent output
| 33-65 | pubKeyMasternode | [CPubKey](#cpubkey) | CPubKey of the secondary signing key (For all other messaging other than announce message)
| 71-73 | sig | char[] | Signature of this message (verifiable via pubKeyCollateralAddress)
| 8 | sigTime | int64_t | Time which the signature was created
| 4 | nProtocolVersion | int | The protocol version of the masternode
| # | lastPing | CMasternodePing | The last known ping of the masternode
| 8 | nLastDsq | int64_t | The last time the masternode sent a DSQ message (for mixing) (DEPRECATED)
| # | lastPing | [CMasternodePing](#mnping---mnp) | The last known ping of the masternode

### MNPING - "mnp"

Expand All @@ -95,10 +94,13 @@ Every few minutes, masternodes ping the network with a message that propagates t

| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | --------- |
| 41 | vin | [CTxIn](#ctxin) | The unspent output of the masternode which is signing the message
| 36 | masternodeOutpoint | [COutPoint](#coutpoint) | The unspent output of the masternode which is signing the message
| 32 | blockHash | uint256 | Current chaintip blockhash minus 12
| 8 | sigTime | int64_t | Signature time for this ping
| 71-73 | vchSig | char[] | Signature of this message by masternode (verifiable via pubKeyMasternode)
| 1 | fSentinelIsCurrent | bool | true if last sentinel ping was current
| 4 | nSentinelVersion | uint32_t | The version of Sentinel running on the masternode which is signing the message
| 4 | nDaemonVersion | uint32_t | The version of absoluted of the masternode which is signing the message (i.e. CLIENT_VERSION)

### MASTERNODEPAYMENTVOTE - "mnw"

Expand All @@ -108,7 +110,7 @@ When a new block is found on the network, a masternode quorum will be determined

| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| 41 | vinMasternode | [CTxIn](#ctxin) | The unspent output of the masternode which is signing the message
| 36 | masternodeOutpoint | [COutPoint](#coutpoint) | The unspent output of the masternode which is signing the message
| 4 | nBlockHeight | int | The blockheight which the payee should be paid
| ? | payeeAddress | CScript | The address to pay to
| 71-73 | sig | char[] | Signature of the masternode which is signing the message
Expand All @@ -122,7 +124,7 @@ Masternodes can broadcast subsidised transactions without fees for the sake of s
| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| # | tx | [CTransaction](#ctransaction) | The transaction
| 41 | vin | [CTxIn](#ctxin) | Masternode unspent output
| 36 | masternodeOutpoint | [COutPoint](#coutpoint) | The unspent output of the masternode which is signing the message
| 71-73 | vchSig | char[] | Signature of this message by masternode (verifiable via pubKeyMasternode)
| 8 | sigTime | int64_t | Time this message was signed

Expand All @@ -147,7 +149,7 @@ Asks users to sign final mixing tx message.
| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| 4 | nDenom | int | Which denomination is allowed in this mixing session
| 41 | vin | [CTxIn](#ctxin) | unspend output from masternode which is hosting this session
| 36 | masternodeOutpoint | [COutPoint](#coutpoint) | The unspent output of the masternode which is hosting this session
| 8 | nTime | int64_t | the time this DSQ was created
| 1 | fReady | bool | if the mixing pool is ready to be executed
| 66 | vchSig | char[] | Signature of this message by masternode (verifiable via pubKeyMasternode)
Expand All @@ -159,7 +161,7 @@ Response to DSQ message which allows the user to join a mixing pool
| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| 4 | nDenom | int | denomination that will be exclusively used when submitting inputs into the pool
| 41+ | txCollateral | int | collateral tx that will be charged if this client acts maliciousely
| 216+ | txCollateral | [CTransaction](#ctransaction) | collateral tx that will be charged if this client acts maliciously

### DSVIN - "dsi"

Expand All @@ -170,9 +172,8 @@ When queue is ready user is expected to send his entry to start actual mixing
| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| ? | vecTxDSIn | CTxDSIn[] | vector of users inputs (CTxDSIn serialization is equal to [CTxIn](#ctxin) serialization)
| 8 | nAmount | int64_t | depreciated since 12.1, it's used for backwards compatibility only and can be removed with future protocol bump
| ? | txCollateral | [CTransaction](#ctransaction) | Collateral transaction which is used to prevent misbehavior and also to charge fees randomly
| ? | vecTxOut | CTxOut[] | vector of user outputs
| 216+ | txCollateral | [CTransaction](#ctransaction) | Collateral transaction which is used to prevent misbehavior and also to charge fees randomly
| ? | vecTxOut | [CTxOut](#ctxout)[] | vector of user outputs

### DSSIGNFINALTX - "dss"

Expand Down Expand Up @@ -216,7 +217,7 @@ A proposal, contract or setting.
| 32 | nCollateralHash | uint256 | Hash of the collateral fee transaction
| 0-16384 | strData | string | Data field - can be used for anything
| 4 | nObjectType | int | ????
| 41 | vinMasternode | [CTxIn](#ctxin) | Unspent output for the masternode which is signing this object
| 36 | masternodeOutpoint | [COutPoint](#coutpoint) | The unspent output of the masternode which is signing this object
| 66* | vchSig | char[] | Signature of the masternode (unclear if 66 is the correct size, but this is what it appears to be in most cases)

### MNGOVERNANCEOBJECTVOTE - "govobjvote"
Expand All @@ -227,7 +228,7 @@ Masternodes use governance voting in response to new proposals, contracts, setti

| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| 41+ | vinMasternode | [CTxIn](#ctxin) | Unspent output for the masternode which is voting
| 36 | masternodeOutpoint | [COutPoint](#coutpoint) | The unspent output of the masternode which is voting
| 32 | nParentHash | uint256 | Object which we're voting on (proposal, contract, setting or final budget)
| 4 | nVoteOutcome | int | ???
| 4 | nVoteSignal | int | ???
Expand All @@ -248,18 +249,19 @@ Spork
| 66* | vchSig | char[] | Unclear if 66 is the correct size, but this is what it appears to be in most cases |

#### Defined Sporks (per src/sporks.h)
| Spork ID | Number | Name | Description |

| Spork ID | Number | Name | Description |
| ---------- | ---------- | ----------- | ----------- |
| 10001 | 2 | INSTANTSEND_ENABLED | Turns on and off InstantSend network wide
| 10002 | 3 | INSTANTSEND_BLOCK_FILTERING | Turns on and off InstantSend block filtering
| 10004 | 5 | INSTANTSEND_MAX_VALUE | Controls the max value for an InstantSend transaction (currently 2000 ABS)
| 10004 | 5 | INSTANTSEND_MAX_VALUE | Controls the max value for an InstantSend transaction (currently 2000 absolute)
| 10005 | 6 | NEW_SIGS | Turns on and off new signature format for Absolute-specific messages
| 10007 | 8 | MASTERNODE_PAYMENT_ENFORCEMENT | Requires masternodes to be paid by miners when blocks are processed
| 10008 | 9 | SUPERBLOCKS_ENABLED | Superblocks are enabled (the 10% comes to fund the absolute treasury)
| 10009 | 10 | MASTERNODE_PAY_UPDATED_NODES | Only current protocol version masternode's will be paid (not older nodes)
| 10011 | 12 | RECONSIDER_BLOCKS | |
| 10012 | 13 | OLD_SUPERBLOCK_FLAG | |
| 10013 | 14 | REQUIRE_SENTINEL_FLAG | Only masternode's running sentinel will be paid
| 10013 | 14 | REQUIRE_SENTINEL_FLAG | Only masternode's running sentinel will be paid

## Undocumented messages

Expand All @@ -275,8 +277,8 @@ Masternode Verify

| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| 41 | vin1 | [CTxIn](#ctxin) | The unspent output which is holding 1000 DASH for masternode 1
| 41 | vin2 | [CTxIn](#ctxin) | The unspent output which is holding 1000 DASH for masternode 2
| 36 | masternodeOutpoint1 | [COutPoint](#coutpoint) | The unspent output which is holding 2500 ABS for masternode 1
| 36 | masternodeOutpoint2 | [COutPoint](#coutpoint) | The unspent output which is holding 2500 ABS for masternode 2
| # | addr | [CService](#cservice) | IPv4 address / port of the masternode
| 4 | nonce | int | Nonce
| 4 | nBlockHeight | int | The blockheight
Expand Down Expand Up @@ -318,7 +320,7 @@ Get Masternode list or specific entry

| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| 41 | vin | [CTxIn](#ctxin) | The unspent output which is holding 1000 DASH
| 36 | masternodeOutpoint | [COutPoint](#coutpoint) | The unspent output which is holding 1000 ABSOLUTE

### SYNCSTATUSCOUNT - "ssc"

Expand All @@ -345,5 +347,6 @@ Masternode Payment Sync

| Field Size | Field Name | Data type | Description |
| ---------- | ----------- | --------- | ---------- |
| 4 | nMnCount | int | |
| 4 | nMnCount | int | | (DEPRECATED)

*NOTE: There are no fields in this mesasge starting from protocol 70209*
4 changes: 2 additions & 2 deletions contrib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ Notes on getting Gitian builds up and running using KVM.
PGP keys used for signing Bitcoin Core [Gitian release](/doc/release-process.md) results.

### [MacDeploy](/contrib/macdeploy) ###
Scripts and notes for Mac builds.
Scripts and notes for Mac builds.

### [Gitian-build](/contrib/gitian-build.sh) ###

Script for running full Gitian builds.

Test and Verify Tools
Test and Verify Tools
---------------------

### [TestGen](/contrib/testgen) ###
Expand Down
1 change: 1 addition & 0 deletions contrib/absolute-qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ FORMS += \
../src/qt/forms/helpmessagedialog.ui \
../src/qt/forms/intro.ui \
../src/qt/forms/masternodelist.ui \
../src/qt/forms/qrdialog.ui \
../src/qt/forms/openuridialog.ui \
../src/qt/forms/optionsdialog.ui \
../src/qt/forms/overviewpage.ui \
Expand Down
Loading