Skip to content

Commit 65717d5

Browse files
authored
Merge pull request duality-solutions#123 from duality-solutions/v2.3-WIP
V2.3
2 parents 1218ba8 + f73084c commit 65717d5

File tree

960 files changed

+17030
-8510
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

960 files changed

+17030
-8510
lines changed

.travis.yml

100755100644
File mode changed.

.tx/config

100755100644
File mode changed.

CHANGELOG.md

100755100644
+189-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,183 @@
11
**Dynamic CHANGELOG**
22
-------------------------
33

4+
**Dynamic v2.3.0.0**
5+
6+
* Skip existing Dynodes connections on mixing
7+
* Protect CKeyHolderStorage via mutex
8+
* Fix Boost 1.66 Compatibility
9+
* Net Overhaul and BTC Inlining
10+
* Bump Versions/Protocol (Updated Dynodes must get a fresh "Start" Signal with the new Binaries)
11+
* Update Tests
12+
* util: Add ParseUInt32 and ParseUInt64
13+
* [RPC] getmempoolancestors/getmempooldescendants
14+
* [RPC] setnetworkactive
15+
* httpserver: drop boost
16+
* Deprecate GetWork()
17+
* [Fluid] Update sovereign identities addresses for testnet
18+
* Update guiutil.cpp
19+
* [RPC] Fix gettxout
20+
* Update ReadBlockFromDisk
21+
* Fix Fluid Check
22+
* First version of Debian build howto
23+
* Formatting fixes, corrections
24+
* Removed exec flags where unneeded
25+
* trivial: remove unnecessary variable fDaemon
26+
* Fix some locks in net_processing.cpp
27+
* Tiny cleanup in configure.ac
28+
* Fix init segfault where InitLoadWallet() calls ATMP before genesis
29+
* remove new int and make i an unsigned int to supress build warning
30+
* fix op order to append first alert
31+
* Remove recommendedMinimum from SetMaxOutboundTarget
32+
* [init, wallet] ParameterInteraction() if wallet enabled
33+
* Specify Protobuf version 2 in paymentrequest.proto
34+
* net: fix maxuploadtarget setting
35+
* Trivial: UndoReadFromDisk works on undo files (rev), not on block files
36+
* Move static global randomizer seeds into CConnman
37+
* [init] Get rid of some ENABLE_WALLET
38+
* Remove last reference to CWalletDB from accounting_tests.cpp/Remove pwalletdb parameter from CWallet::AddAccountingEntry/Add CWallet::ReorderTransactions and use in accounting_tests.cpp/Add CWallet::ListAccountCreditDebit
39+
* [Qt] RPC-Console: support nested commands and simple value queries
40+
* [Wallet] remove unused ThreadFlushWalletDB from removeprunedfunds
41+
* init: Get rid of fDisableWallet
42+
* [qt] WalletModel: Expose disablewallet
43+
* Do not set an addr time penalty when a peer advertises itself.
44+
* Check for high-entropy ASLR
45+
* Move AutoBackup initialization into CWallet::InitAutoBackup
46+
* [mempool] Fix relaypriority calculation error
47+
* [depends] Fix Qt compilation with Xcode 8
48+
* [rpc] throw JSONRPCError when utxo set can not be read
49+
* Remove unused statements in serialization
50+
* dynamicd: Daemonize using daemon(3)
51+
* Decouple GetConfigFile and ReadConfigFile from global mapArgs
52+
* deprecate begin/end ptrs
53+
* net: fix a few cases where messages were sent rather than dropped upon disconnection
54+
* Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block
55+
* Sync dynamic-tx with tx version policy
56+
* RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPC
57+
* Kill insecure_random and associated global state
58+
* Cleanup enums in protocol.h
59+
* Add preciousblock RPC
60+
* Report NodeId in misbehaving debug
61+
* Remove InsecureRand
62+
* Fix logging in PushInventory
63+
* Actually honor fMiningRequiresPeers in getblocktemplate
64+
* Remove extern
65+
* Bump LevelDB/UniValue/secp256k1 versions
66+
* RPC changeover to JSONRPCRequest
67+
* Qt refactors to better abstract wallet access
68+
* [RPC] Add ImportMulti
69+
* [RPC] importmulti: Avoid using boost::variant::operator!=, which is only in newer boost versions
70+
* Move coincontrol.h to walletfolder
71+
* Remove unnecessary function prototypes
72+
* Eliminating Inconsistencies in Textual Output
73+
* Make connect=0 disable automatic outbound connections.
74+
* Repair rpc_wallet_tests.cpp and remove unused variable in coins_tests.cpp to remove build warning
75+
* Repair final instance of mem pool to mempool
76+
* [RPC] Remove invalid explanation from wallet fee message
77+
* Return useful error message on ATMP failure/Deprecate Test
78+
* Fix Build Warnings
79+
* [Qt] overhaul smart-fee slider, adjust default confirmation target
80+
* keypoololdest denote Unix epoch, not GMT
81+
* [qt] Return useful error message on ATMP failure
82+
* Store mempool and prioritization data to disk
83+
* Throw exception in gobject prepare when CommitTransaction fails
84+
* Move CWalletDB::ReorderTransactions to CWallet
85+
* [rpc] ParseHash: Fail when length is not 64
86+
* Trivial: Explicitly pass const CChainParams& to LoadBlockIndexDB()
87+
* [Wallet] Refactor wallet/init interaction (Reaccept wtx, flush thread)
88+
* Change DEFAULT_TX_CONFIRM_TARGET from 2 to 10
89+
* Declare wallet.h functions inline
90+
* net: make a few values immutable, and use deterministic randomness for the localnonce
91+
* Add common failure cases for rpc server connection failure
92+
* Remove unused CTxOut::GetHash()
93+
* new var DIST_CONTRIB adds useful things for packagers from contrib/ to EXTRA_DIST
94+
* Use RelevantServices instead of node_network in AttemptToEvict and cleanup NodeEvictionCandidate
95+
* Allow filterclear messages for enabling TX relay only.
96+
* Use nPowTargetSpacing in SendCoinsDialog::updateGlobalFeeVariables
97+
* qt: Use correct conversion function for boost::path datadir
98+
* Hash P2P messages as they are received instead of at process-time
99+
* Addition of mining tab
100+
* Initialize variable to prevent compiler warning
101+
* fix getnettotals RPC description about timemillis
102+
* Remove redundant duplicate-input check from CheckTransaction
103+
* Serialization simplification/optimisation
104+
* fNetworkActive is not protected by a lock, use an atomic
105+
* Unset fImporting for loading mempool
106+
* net: don't send feefilter messages before the version handshake is complete
107+
* Remove block-request logic from INV message processing
108+
* [Qt] fix coincontrol sort issue
109+
* getrawtransaction should take a bool for verbose
110+
* Move -salvagewallet, -zap(wtx) to where they belong
111+
* Do not fully sort all nodes for addr relay
112+
* fix CreateTransaction error messages
113+
* Add check to IsCollateralValid
114+
* Credit should be CAmount
115+
* Update bench.cpp
116+
* remove unnecessary calls to CheckFinalTx
117+
* Split up AppInit2 into multiple phases
118+
* Daemonize after datadir lock
119+
* Get rid of fServer flag
120+
* Trivial refactor: Remove extern keyword from function declarations, as they are extern by default.
121+
* SendMoney: use already-calculated balance
122+
* Disable fee estimates for a confirm target of 1 block
123+
* Return txid even if ATMP fails for new transaction
124+
* Do not run functions with necessary side-effects in assert()
125+
* Use EXIT_FAILURE when calling exit()
126+
* Stop DynodeBroadcast::Relay() when not synced
127+
* Add missing locks to dynode.cpp
128+
* Move over to Sentinel Ping from Watchdog
129+
* Remove zero-fee transactions as an option
130+
* Update miningpage for out of sync situation + add tooltips
131+
* Add Sexy Sliders
132+
* Remove unused declaration in dynodeman.cpp
133+
* Add check to ensure that generatetoaddress doesn't function on Main or TestNet
134+
* [Miner] check for dynode sync before mining
135+
* Hash Rate Widget for Mining Page
136+
* [Dynode] Remove lock in ReadBlockFromDisk
137+
* Initial complete Korean translation added
138+
* add include to enable wallet to be built disabled
139+
* Fix Unlocking Error When Mixing
140+
* Refactor and fix restart
141+
* Fix segfault crash when shutdown the GUI in disablewallet mode
142+
* Increase mempool expiry time to 2 weeks
143+
* [CoinControl] Allow non-wallet owned change addresses
144+
* Allow shutdown during LoadMempool, dump only when necessary
145+
* Add IsArgSet, ForceSetArg, ForceSetMultiArgs, ForceRemoveArg & new critical section
146+
* [bugfix] save feeDelta instead of priorityDelta in DumpMempool
147+
* Add missing mempool lock for CalculateMemPoolAncestors
148+
* Qt/Intro: Various fixes
149+
* [net]Fix close socket loop
150+
* Bugfix: ancestor modifed fees were incorrect for descendants
151+
* Fix Dynode List
152+
* Remove some locking in net.h/net.cpp
153+
* Fix connectivity check in CActiveDynode::ManageStateInitial
154+
* Force Dynodes to have listen=1 and maxconnections to be at least DEFAULT_MAX_PEER_CONNECTIONS
155+
* fix SelectCoinsByDenominations
156+
* [Init] Avoid segfault when called with -enableinstantsend=0
157+
* Use correct version for fee estimates db
158+
* Fix args throughout wallet
159+
* Remove AddRef call in CNode constructor and do AddRef in AcceptConnection
160+
* Fix races, clean up args, move wallet backup dir check to wallet.cpp
161+
* Added check for open() returning a NULL pointer.
162+
* Limit IS quorums by updated DNs only
163+
* Fix nStart warning and actually use it
164+
* Fix LevelDB warning in leveldb/util/logging.cc
165+
* Update univalue and secp256k1 libraries (June 2018)
166+
* Bump dynodeman versionCDynodeMan-Version to 2
167+
* Bump CGovernanceManager version to 23 to signify v2.3
168+
* Change DyNode to DynodeMode to avoid confusion
169+
* [BDAP] Increase OP_RETURN relay size for larger DAP entries
170+
* [Fluid] Fix getfluidhistoryraw RPC command
171+
* [Fluid] Fix getfluidsovereigns RPC command
172+
* [Fluid] Allow negative fluid minting amounts
173+
* fix copy address, issue 157
174+
* Privatesend->PrivateSend Instantsend->InstantSend
175+
* Identified and Fixed many issues with Korean Translations.
176+
* Update dynamic_find_bdb48.m4
177+
* [Fluid] Fix send fluid tx display in Qt UI
178+
* Inline Argon2d code with commit fba7b9a
179+
* Update CHANGELOG
180+
4181
**Dynamic v2.2.0.0**
5182

6183
* Add dynamic address label to request payment QR code
@@ -21,11 +198,12 @@
21198
* Bump Version and Copyright Year
22199
* Update Proto Version
23200
* Update secp256k1
24-
201+
* Fix fixed seeds
202+
* Update CHANGELOG
25203

26204
**Dynamic v2.1.0.0**
27205

28-
* [Trivial] Shift non-Fluid specific operations to seperate file
206+
* [Trivial] Shift non-Fluid specific operations to separate file
29207
* [Script] Remove OPCODES from non-existent features
30208
* Add tags to mempool's mapTx indices
31209
* remove unused NOBLKS_VERSION_{START,END} constants
@@ -106,7 +284,7 @@
106284
* increase connection limits for outbound
107285
* Fix calls to AcceptToMemoryPool in PS submodules
108286
* Improve handling of unconnecting headers
109-
287+
* Update CHANGELOG
110288

111289
**Dynamic v2.0.0.0**
112290

@@ -377,7 +555,7 @@
377555
* Common argument defaults for NODE_BLOOM stuff and -wallet
378556
* Move privatesend to rpcwallet.cpp
379557
* Optimize CheckOutpoint
380-
558+
* Update CHANGELOG
381559

382560
**Dynamic v1.4.0.0**
383561

@@ -439,7 +617,7 @@
439617
* Reduce Keypool to 1000
440618
* Optimise Reindex
441619
* Bump Governance/InstantSend/PrivateSend/Core Proto/Versions
442-
620+
* Update CHANGELOG
443621

444622
**Dynamic v1.3.0.2**
445623

@@ -451,19 +629,19 @@
451629
* Reduce nDefaultDbCache to 512MiB
452630
* Bump Proto and ONLY connect to 1.3.0.1 (Proto 70200)
453631
* Bump Governance/Core Proto/Versions
454-
632+
* Update CHANGELOG
455633

456634
**Dynamic v1.3.0.1**
457635

458636
* Bump Protocols to lock out nodes at or below v1.2 to prevent any forks
459-
637+
* Update CHANGELOG
460638

461639
**Dynamic v1.3.0.0**
462640

463641
* c++11:Backport from bitcoin-core: don't throw from the reverselock destructor
464642
* InitError instead of throw on failure
465643
* Hard Fork at block 300,000 for Delta difficulty retarget algorithm
466-
644+
* Update CHANGELOG
467645

468646
**Dynamic v1.2.0.0**
469647

@@ -506,7 +684,7 @@
506684
* Watchdog check removed until Sentinel is updated/compatible fully
507685
* Bump protocol versions to 70000
508686
* Added IPv4 seed nodes to chainparamsseeds.h
509-
687+
* Update CHANGELOG
510688

511689
**Dynamic v1.1.0.0**
512690

@@ -527,6 +705,6 @@
527705
* [RPC] remove the option of having multiple timer interfaces
528706
* Fix memory leak in httprpc.cpp
529707
* Make KEY_SIZE a compile-time constant
708+
* Update CHANGELOG
530709

531-
** Initial Fork from Dash
532-
710+
** Initial Fork from Dash

CONTRIBUTING.md

100755100644
File mode changed.

COPYING

100755100644
File mode changed.

INSTALL

100755100644
File mode changed.

Makefile.am

100755100644
+5-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ OSX_PLIST=$(top_srcdir)/share/qt/Info.plist #not installed
2525
OSX_QT_TRANSLATIONS = da,de,es,hu,ru,uk,zh_CN,zh_TW
2626

2727
DIST_DOCS = $(wildcard doc/*.md) $(wildcard doc/release-notes/*.md)
28+
DIST_CONTRIB = $(top_srcdir)/contrib/dynamic-cli.bash-completion \
29+
$(top_srcdir)/contrib/dynamic-tx.bash-completion \
30+
$(top_srcdir)/contrib/dynamicd.bash-completion \
31+
$(top_srcdir)/contrib/init
2832

2933
BIN_CHECKS=$(top_srcdir)/contrib/devtools/symbol-check.py \
3034
$(top_srcdir)/contrib/devtools/security-check.py
@@ -218,7 +222,7 @@ endif
218222

219223
dist_noinst_SCRIPTS = autogen.sh
220224

221-
EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/rpc-tests.py qa/rpc-tests $(DIST_DOCS) $(WINDOWS_PACKAGING) $(OSX_PACKAGING) $(BIN_CHECKS)
225+
EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/rpc-tests.py qa/rpc-tests $(DIST_CONTRIB) $(DIST_DOCS) $(WINDOWS_PACKAGING) $(OSX_PACKAGING) $(BIN_CHECKS)
222226

223227
CLEANFILES = $(OSX_DMG) $(DYNAMIC_WIN_INSTALLER)
224228

README.md

100755100644
+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Graph on Pull Request History
88

99
[![Throughput Graph](https://graphs.waffle.io/duality-solutions/Dynamic/throughput.svg)](https://waffle.io/duality-solutions/Dynamic/metrics/throughput)
1010

11-
# **Dynamic (DYN) v2.2.0.0**
11+
# **Dynamic (DYN) v2.3.0.0**
1212

1313
![DYN logo](https://github.com/duality-solutions/Dynamic/blob/master/src/qt/res/icons/drk/about.png)
1414

@@ -26,7 +26,7 @@ What is [Dynamic](https://duality.solutions/dynamic)?
2626
* Maturity: 10 Blocks
2727
* PoW Blocks: ~675 per day
2828
* Dynode Collateral Amount: 1000 DYN
29-
* Dynode Min Confirmation: 10 Blocks
29+
* Dynode Min Confirmation: 17 Blocks
3030
* Dynode Reward: Controlled via Fluid Protocol
3131
* Dynode Reward Start Height: Block 10,273
3232
* Total Coins: 2<sup>63</sup> - 1
@@ -37,7 +37,7 @@ What is [Dynamic](https://duality.solutions/dynamic)?
3737

3838
[Dynamic(DYN)](https://duality.solutions/dynamic) lays the groundwork for offering BaaS(Blockchain as a Service) by hosting a multitude of second tier nodes called Dynodes. Rewards can be adjusted through the 'Fluid Protocol' created by [Duality](https://duality.solutions/) to adjust to a maturing market.
3939

40-
As a modern currency [Dynamic(DYN)](https://github.com/duality-solutions/dynamic) will be actively maintained to keep up with the latest market trends. [Dynamic(DYN)](https://github.com/duality-solutions/dynamic) features fast and Instantsend transactions at an affordable rate, also end-users that care for consumer privacy are able to anonymously transact using Privatesend.
40+
As a modern currency [Dynamic(DYN)](https://github.com/duality-solutions/dynamic) will be actively maintained to keep up with the latest market trends. [Dynamic(DYN)](https://github.com/duality-solutions/dynamic) features fast and InstantSend transactions at an affordable rate, also end-users that care for consumer privacy are able to anonymously transact using PrivateSend.
4141

4242
[Dynamic(DYN)](https://github.com/duality-solutions/dynamic) utilises Dynodes which are the 2nd tier of security, processing InstantSend transactions and providing fungibility via PrivateSend.
4343

build-aux/m4/ax_boost_base.m4

100755100644
File mode changed.

build-aux/m4/ax_boost_chrono.m4

100755100644
File mode changed.

build-aux/m4/ax_boost_filesystem.m4

100755100644
File mode changed.

build-aux/m4/ax_boost_program_options.m4

100755100644
File mode changed.

build-aux/m4/ax_boost_system.m4

100755100644
File mode changed.

build-aux/m4/ax_boost_thread.m4

100755100644
File mode changed.

build-aux/m4/ax_boost_unit_test_framework.m4

100755100644
File mode changed.

build-aux/m4/ax_check_compile_flag.m4

100755100644
File mode changed.

build-aux/m4/ax_check_link_flag.m4

100755100644
File mode changed.

build-aux/m4/ax_check_preproc_flag.m4

100755100644
File mode changed.

build-aux/m4/ax_cxx_compile_stdcxx.m4

100755100644
File mode changed.

build-aux/m4/ax_gcc_func_attribute.m4

100755100644
File mode changed.

build-aux/m4/ax_pthread.m4

100755100644
File mode changed.

0 commit comments

Comments
 (0)