Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e670d9d

Browse files
authored
Merge pull request duality-solutions#276 from duality-solutions/v2.4-WIP-BDAP
Merge BDAP Changes with v2.4-WIP
2 parents b03bbf1 + c2d4255 commit e670d9d

File tree

295 files changed

+71455
-9362
lines changed

Some content is hidden

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

295 files changed

+71455
-9362
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,10 @@ install_manifest.txt
171171
# Qt Creator
172172
*.user
173173
*.autosave
174+
175+
# Visual Studio Code
176+
.vscode/
177+
178+
# DHT Test binary
179+
src/dht/test/data_test
180+
.dht

.gitmodules

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[submodule "src/bdap/vgp"]
2+
path = src/bdap/vgp
3+
url = https://github.com/duality-solutions/VGP.git
4+
branch = master
5+
[submodule "src/libtorrent"]
6+
path = src/libtorrent
7+
url = https://github.com/duality-solutions/libbdaptorrent.git
8+
branch = incompatible

.travis.yml

Lines changed: 54 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,57 @@
11
language: cpp
2-
compiler: gcc
3-
os: linux
2+
compiler:
3+
- gcc
4+
os:
5+
- linux
46
sudo: required
57
dist: bionic
6-
install:
7-
- sudo apt-get -qq update
8-
- sudo apt-get install -y ocl-icd-opencl-dev
9-
- sudo apt-get install -y build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libcrypto++-dev libevent-dev
10-
- sudo add-apt-repository -y ppa:bitcoin/bitcoin
11-
- sudo apt-get update -y && sudo apt-get install -y libdb4.8-dev libdb4.8++-dev
12-
script:
13-
- ./autogen.sh && ./configure --with-gui=qt5 --enable-gpu && make
14-
15-
deploy:
16-
provider: releases
17-
file: "dynamic-qt"
18-
skip_cleanup: true
19-
on:
20-
tags: true
8+
env:
9+
global:
10+
- MAKETHREADS="-j2"
11+
- MAIN_PACKAGES="build-essential libtool autotools-dev autoconf libssl-dev libboost-all-dev libcrypto++-dev libevent-dev"
12+
- QT_PACKAGES="libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler"
13+
- GPU_PACKAGES="ocl-icd-opencl-dev"
14+
- EXTRA_PPA="ppa:bitcoin/bitcoin"
15+
- EXTRA_PPA_PACKAGES="libdb4.8-dev libdb4.8++-dev"
16+
cache:
17+
apt: true
18+
addons:
19+
apt:
20+
packages:
21+
- pkg-config
22+
jobs:
23+
include:
24+
# Linux daemon and Qt wallet
25+
- stage: build
26+
name: 'Linux daemon and Qt wallet'
27+
install:
28+
- sudo apt-get install -y $MAIN_PACKAGES $QT_PACKAGES
29+
- sudo add-apt-repository -y $EXTRA_PPA
30+
- sudo apt-get update -y && sudo apt-get install -y $EXTRA_PPA_PACKAGES
31+
script:
32+
- ./autogen.sh
33+
- ./configure --with-gui=qt5 --disable-tests --disable-bench
34+
- make $MAKETHREADS
35+
# Linux daemon only with GPU
36+
- stage: build
37+
name: 'Linux daemon only with GPU'
38+
install:
39+
- sudo apt-get install -y $MAIN_PACKAGES
40+
- sudo add-apt-repository -y $EXTRA_PPA
41+
- sudo apt-get update -y && sudo apt-get install -y $EXTRA_PPA_PACKAGES
42+
- sudo apt-get install -y $GPU_PACKAGES
43+
script:
44+
- ./autogen.sh
45+
- ./configure --without-gui --enable-gpu --disable-tests --disable-bench
46+
- make $MAKETHREADS
47+
# Linux daemon only with tests
48+
- stage: build
49+
name: 'Linux daemon only with tests'
50+
install:
51+
- sudo apt-get install -y $MAIN_PACKAGES
52+
- sudo add-apt-repository -y $EXTRA_PPA
53+
- sudo apt-get update -y && sudo apt-get install -y $EXTRA_PPA_PACKAGES
54+
script:
55+
- ./autogen.sh
56+
- ./configure --without-gui
57+
- make $MAKETHREADS

CHANGELOG.md

Lines changed: 249 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,255 @@
33

44
**Dynamic v2.4.0.0**
55

6+
* [DHT] Add more UDP ports and fix saving key in wallet
7+
* [BDAP] Update enum item names so it doesn't overlap with Windows macros
8+
* Merge pull request #25 from duality-solutions/windows
9+
* [DHT] Add parameter info to RPC call error
10+
* [BDAP] More fixes to private key wallet saving
11+
* Merge pull request #26 from duality-solutions/dht-fixes2
12+
* [DHT] Fix put mutable value method
13+
* [DHT] Fix salt parsing in the put save data method
14+
* [DHT] Check signature and pubkey length before saving for put
15+
* [DHT] Fix put by using fixed sizes for pubkey and signature. Use variable sizes for salt and value
16+
* Merge pull request #27 from duality-solutions/fix-dht3
17+
* [DHT] Fix session event logging and searching memory maps
18+
* [DHT] Use multimap and implement locks session events
19+
* Resolve merge conflicts with v2.4-WIP
20+
* [DHT] Rework libtorrent event threads
21+
* [DHT] Fix async get operations
22+
* [DHT] Add function to remove old libtorrent events from memory multimap
23+
* [DHT] Fix MacOSX build warnings
24+
* Merge branch 'v2.4-WIP' of https://github.com/duality-solutions/dynamic into merge-public
25+
* [DHT] Fix put BDAP data function for mutable hash table database
26+
* [DHT] Add RPC command that returns all put message events in memory
27+
* [DHT] Add RPC command that returns all get mutable events in memory
28+
* [DHT] Fix blocking alert thread issue affecting puts
29+
* Merge branch 'v2.4-WIP' of https://github.com/duality-solutions/dynamic into merge-public
30+
* Merge pull request #29 from duality-solutions/fix-dht5
31+
* Merge branch 'master' into merge-public
32+
* Merge pull request #30 from duality-solutions/merge-public
33+
* [DHT] Fix put wait for reponse
34+
* [BDAP] Add dump bdap keys RPC command <dumpbdapkeys>
35+
* [BDAP] Add RPC command to import BDAP account private keys
36+
* Merge branch 'master' into fix-dht6
37+
* Merge pull request #31 from duality-solutions/fix-dht6
38+
* [BDAP] Fix build errors after merge conflicts
39+
* Merge pull request #32 from duality-solutions/hd-seed
40+
* [BDAP] Add RPC command to get local wallet accounts <mybdapaccounts>
41+
* Merge branch 'master' into myaccounts
42+
* Merge pull request #33 from duality-solutions/myaccounts
43+
* Update testnet spork address
44+
* Update print in ThreadSocketHandler
45+
* Fixes
46+
* Merge pull request #34 from duality-solutions/spencer
47+
* Fix Strings
48+
* Change uint256S to Int
49+
* Merge pull request #35 from duality-solutions/spencer
50+
* Merge pull request #36 from duality-solutions/chainwork
51+
* Merge pull request #37 from duality-solutions/newtestnet
52+
* [DHT] Revert CPubKey class and add AddCryptedDHTKey
53+
* [DHT] Fix segfault when shutdown before libtorrent session init
54+
* Add mnemonic import
55+
* Improve menu title
56+
* Update fluiddynode.cpp
57+
* Add second spork address to testnet
58+
* [DHT] Fixes to wallet encryption for Ed25519 keys
59+
* [DHT] Fix libtorrent event map for bootstrap event
60+
* [DHT] Cleanup storage debug.log usage
61+
* [DHT] Fix last wallet encryption issue for ed25519 keys
62+
* Merge pull request #39 from duality-solutions/dht-keys
63+
* [DHT] Fix segfault when saving BDAP hash table key
64+
* Merge pull request #258 from duality-solutions/v2.4-WIP
65+
* Resolve merge conflicts and fix mnemonic build error
66+
* Merge pull request #41 from duality-solutions/skfix
67+
* [BDAP] Move entries leveldb database into blocks directory
68+
* Merge pull request #40 from duality-solutions/dht-keys2
69+
* Fix non-standard and null data sign step and combine signatures
70+
* [Fluid] Add boost thread include to fluid db code files
71+
* Fix override warnings in keystore and crypter
72+
* [BDAP] Update certificate class, refactor and add category
73+
* [BDAP] Update link classes
74+
* [BDAP] Stub linking db and RPC commands
75+
* [BDAP] Refactor common utility functions to seperate file
76+
* [BDAP] Add invite message to link request class
77+
* [BDAP] Add generic script parsing for linking and domain entries
78+
* Remove second spork address for testnet
79+
* Add privatenet to chain parameters
80+
* Merge pull request #46 from duality-solutions/privatenet
81+
* Add privatenet seed nodes
82+
* [BDAP] Rearrange operation codes
83+
* [BDAP] Use op1 and op2 to get operation type
84+
* [BDAP] Fix update entry issue
85+
* [BDAP] Put users and groups in @public.bdap.io by default
86+
* Merge pull request #49 from duality-solutions/bdap-opcodes
87+
* Merge branch 'master' into bdap-updates
88+
* [BDAP] Fix issues caused by previous merge conflicts
89+
* Merge pull request #48 from duality-solutions/bdap-updates
90+
* Updated LibTorrent submodule, synced with root repo
91+
* [BDAP] Updates to link requests
92+
* [BDAP] Check if link request pubkey already exists in the mempool
93+
* [BDAP] Add shared pubkey to link requests
94+
* Merge pull request #51 from duality-solutions/linking
95+
* Merge pull request #50 from duality-solutions/fix-warnings
96+
* Merge public v2.4-WIP with private repo
97+
* Resolve merge conflicts with v2.4-WIP public repo
98+
* Sync public repo v2.4-WIP changes
99+
* Fix warnings for struct/class mismatch and missing overrides
100+
* Merge pull request #52 from duality-solutions/merge-public4
101+
* [BDAP] Fix link request from and to me functions
102+
* Update ReadMe
103+
* Update README.md
104+
* Update README.md
105+
* Merge pull request #54 from duality-solutions/ReadMeUpdate
106+
* Merge pull request #55 from duality-solutions/merge-public4
107+
* [BDAP] Fixes to linking and account db functions
108+
* Move endif to correct place
109+
* [BDAP] Rename entry channel to sidechain
110+
* [BDAP] Add link accept RPC command
111+
* [BDAP] Fixes to link consensus checks
112+
* [DHT] Fill Ed25519 private keys with zeros in destructor
113+
* [BDAP] Fixes to Leveldb link request and accept databases
114+
* [BDAP] More fixes for link request and accept consensus
115+
* [BDAP] Fix transaction display in Qt UI for account entries and links
116+
* [Fluid] Add initial sovereign addresses for privatenet
117+
* [BDAP] Use Instant Send when possible for BDAP txs
118+
* [BDAP] Fix mybdapaccounts after adding links
119+
* [BDAP] Add expire time and pubkey to user and group operation transaction
120+
* [BDAP] Implement link pending RPC commands
121+
* Sync with public v2.4-WIP branch 2019-01-10
122+
* Merge pull request #57 from duality-solutions/merge-public6
123+
* Fix Windows build issue for embedded libtorrent
124+
* Fix Windows Qt resource file so it will build
125+
* Update libtorrent synced with original repo on 2019-01-11
126+
* Merge pull request #53 from duality-solutions/linking2
127+
* Add MacOS framework CoreFoundation and SystemConfiguration to make
128+
* Update locales and add fully translated NL file
129+
* Merge branch 'master' of https://github.com/duality-solutions/Dynamic-private
130+
* Stub BIP39 Wordlist files for zh_CN/zh_TW/fr/it/jp/ko/es
131+
* fix final text for translations
132+
* Remove 1 ?
133+
* Merge pull request #58 from duality-solutions/locales
134+
* Update documentation
135+
* Merge pull request #59 from duality-solutions/readme
136+
* Update Docs
137+
* Merge pull request #60 from duality-solutions/readme
138+
* Fix mismatched parameters to LogPrint
139+
* Fix warning comparison between signed and unsigned integer expressions
140+
* Merge pull request #62 from duality-solutions/dm-bugfixes
141+
* Add BDAP to menubar and associated GUI
142+
* [DHT] Change alert threading to avoid segfault
143+
* [DHT] Change alert threading to avoid segfault
144+
* [BDAP] Fix linking destination and source address for request/accept
145+
* [BDAP] Fix registration days parameter for RPC commands
146+
* Merge pull request #64 from duality-solutions/updates
147+
* BDAP Whitepaper v0.1
148+
* Update BDAP.md
149+
* Update BDAP.md
150+
* Add DHT RPC Calls and link to code location.
151+
* Codify OP_RETURN
152+
* Update wording
153+
* Improve formatting
154+
* update dht link
155+
* link dynamic and sequence
156+
* Link BDAP references to website
157+
* Improve Layout
158+
* Add a para to intro
159+
* Add to technical information.
160+
* Link LDAP
161+
* Improve wording
162+
* Improve wording
163+
* Improve layout
164+
* Remove DYN and link Dynamic
165+
* Merge pull request #66 from duality-solutions/RPCWording
166+
* Update BDAP.md
167+
* Add BDAP AddUser modal, button event handlers and css
168+
* Update BDAP.md
169+
* Stub BDK section
170+
* [BDAP] Implement version 0 (public) linking without encryption
171+
* [DHT] Fix keymeta wallet issue when loading
172+
* [BDAP] Add signature proof verification for link requests
173+
* Update class info
174+
* Fix formatting
175+
* Stub further sections and tidy RPC sections
176+
* Outline stubs
177+
* Amend RPC section formatting to match
178+
* Remove `
179+
* Update libtorrent, allow larger mutable DHT entries (from 1000 to 5120 bytes)
180+
* Update Spanish Translation
181+
* Merge pull request #68 from duality-solutions/locales
182+
* Update dynamic_es.ts
183+
* Merge pull request #67 from duality-solutions/linking4
184+
* [BDAP GUI] Implement List All Users in TableWidget
185+
* [BDAP] Add ability to filter by users, groups or all in ListDirectories
186+
* [BDAP] Prevent creating duplicate links
187+
* [BDAP] Add completed link RPC command
188+
* [BDAP] Improve link request and accept database structure
189+
* [BDAP] Filter pending link RPC commands
190+
* [BDAP] Add delete link request and accept RPC command
191+
* [BDAP] Remove OP_RETURN data from delete domain account RPC
192+
* [BDAP GUI] Implement List All Groups in TableWidget. WIP
193+
* [BDAP GUI] Make BDAP Users table resize dynamically. WIP
194+
* [BDAP] Add create raw account transaction RPC command
195+
* [BDAP GUI] Make BDAP Groups table resize dynamically. Bugfixes. WIP
196+
* [BDAP GUI] Handle get user details. WIP
197+
* [BDAP GUI] Change ListDirectories output from condensed to full in order to populate expiration date
198+
* [BDAP GUI] Rearrange GUI. WIP
199+
* [BDAP GUI] Change refresh method, add My Users/Groups checkbox. WIP
200+
* Update importmnemonic RPC command example
201+
* [BDAP GUI] Tweak GUI, wire up My Groups checkbox. WIP
202+
* [BDAP] Add optional accountType parameter to RPC mybdapaccounts
203+
* [BDAP] Check if account exists in createrawbdapaccount RPC
204+
* [BDAP] Add RPC command to pay, sign and send a raw hex account
205+
* [BDAP] Fix mybdapaccounts help
206+
* [BDAP] Fix help for account RPC commands
207+
* Merge pull request #70 from duality-solutions/rpc-bdap
208+
* [BDAP] Fix DHT RPC comand help output
209+
* [BDAP] Add parameter names to all bdap RPC commands
210+
* [BDAP] Fix delete link consensus and wallet checks
211+
* Merge pull request #69 from duality-solutions/linking5
212+
* [BDAP GUI] Wire up search functionality. Save sort states.
213+
* [BDAP] Fix issue when trying to delete link multiple times
214+
* [BDAP GUI] Add BDAP Account Detail dialog box functionality
215+
* Less chatty debug.log file when not in debug mode
216+
* Add syncstatus RPC command for better info on chain status
217+
* Merge pull request #71 from duality-solutions/sync-status
218+
* Fix debug logging due to an extra category passed
219+
* Tweak syncstatus progress calculation
220+
* [BDAP GUI] Add User Dialog functionality. WIP
221+
* Merge branch 'master' into qt-mockups
222+
* [BDAP GUI] Tweak Add User Error Message reporting. WIP
223+
* [BDAP GUI] Display user details upon successful add user transaction
224+
* [BDAP GUI] Make My Users/Groups default view. Add record count display.
225+
* [BDAP GUI] Add add group functionality. Enable wordWrap for longer error messages.
226+
* [BDAP] Reduce linking logging when not in debug mode
227+
* [BDAP GUI] Add delete user/group functionality
228+
* [BDAP GUI] Add update BDAP user/group functionality
229+
* [BDAP] Add VGP encryption library to build
230+
* [BDAP] Add VGP encryption to link request
231+
* [BDAP] Update VGP submodule to most recent master branch
232+
* [BDAP] Add function to convert hex ed25519 pubkeys to bytes
233+
* [BDAP] Add, remove, get version number for encrypted data
234+
* [BDAP] Fix missing operation code translation
235+
* [BDAP] Decrypt v1 link data before adding to local wallet
236+
* [BDAP] Increase maximum link data size to 1592
237+
* [BDAP] Add more debug log print for links
238+
* Merge pull request #74 from duality-solutions/VGP
239+
* [BDAP GUI] Add user-friendly behavior, more error handling and cleanup
240+
* [BDAP GUI] Implement changes requested by PR reviewers
241+
* Merge pull request #73 from duality-solutions/qt-mockups
242+
* [BDAP] Update VGP library's gitignore
243+
* [VGP] Fix unit test and qt test make files
244+
* [BDAP QT] Remove net include from tablemodel class
245+
* Update German Translation
246+
* Stub BDAP UI translations to NL ts file
247+
* Pass placeholdertext through QObject::tr
248+
* [BDAP] Fix issue with deleting an account
249+
* [BDAP] Fix decrypting link request and accept data
250+
* [BDAP] Add missing license headers to code files
251+
* [Fluid] Fix get miner reward after first change
252+
* [Fluid] Move operations code to fluid directory
253+
* Bump client version to 2.4.6
254+
* Merge pull request #76 from duality-solutions/BDAP-Translate
6255
* Fixes for PS and UTXO sorting
7256
* Cleanup fee section
8257
* Increase Signatures Required and Total

0 commit comments

Comments
 (0)