Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
f0228d3
update gitignore
Dec 9, 2015
432e0c0
json serializing
Dec 15, 2015
1b8279e
added dapif for files
Dec 15, 2015
29acb53
fixed dep problems
Dec 15, 2015
24d755b
fixed js file
Dec 15, 2015
2a3ec03
fixed dep issue
Dec 15, 2015
6738486
reading and writing user profiles
Dec 16, 2015
f8f8a94
set-profile-js
Dec 16, 2015
2fe79b2
get and set private data
Dec 16, 2015
272c1ac
get and set private data js
Dec 16, 2015
0ee1650
- Get/Set private data is working
Dec 16, 2015
cfe13b1
send pm
Dec 23, 2015
5f97a3f
messaging fixes
Dec 29, 2015
f83f71c
draft
Jan 5, 2016
4b79afb
prototype setup
Jan 5, 2016
7683339
added invite user and verify account commands
Jan 6, 2016
347a884
vastly improved error feedback for dapi
Jan 7, 2016
5a1f2d9
change error-id to error_id and error-message to error_message
Jan 9, 2016
de6d0f0
fix file reading issues
Jan 9, 2016
d2c70d8
fix file reading issues
Jan 9, 2016
e2598f7
changed dapi iterator to c++98 compatible (thx crowning)
Jan 9, 2016
6c7eca0
fix file reading issues
Jan 9, 2016
b835eea
fixed compile issue
Jan 9, 2016
ec59b00
moved around declarations
Jan 9, 2016
90af786
moved around declarations
Jan 9, 2016
0ca38f9
commit include of init
Jan 10, 2016
4dd0100
moved eventnotify from init
Jan 10, 2016
ae857ab
v13.0.0
schinzelh Jan 10, 2016
af3fc8d
v0.13.0.0
schinzelh Jan 10, 2016
cae92d8
Merge pull request #669 from dashpay/schinzelh-patch-1
schinzelh Jan 10, 2016
9b9500c
validate usernames
Jan 11, 2016
2208a4d
Merge branch 'v0.13.0.x' of http://www.github.com/dashpay/dash into v…
Jan 11, 2016
9e469e1
removed regex for compatibility
Jan 11, 2016
9d996d1
debug evo vars
Jan 11, 2016
99d082b
add debuging vars
Jan 12, 2016
22a4bcf
moved around eventnotify
Jan 12, 2016
c131290
removed eventnotify declaration
Jan 12, 2016
dc73fe2
added websockets client
Jan 12, 2016
49df096
fixed bug with getprofile
Jan 12, 2016
9a4e419
data test bugs and fixed username tests
Jan 12, 2016
3fff443
Merge remote-tracking branch 'remotes/origin/v0.12.0.x' into v0.13.0.x
schinzelh Jan 12, 2016
ac930df
changed id to time
Jan 12, 2016
b2aa5c4
Merge branch 'v0.13.0.x' of http://www.github.com/dashpay/dash into v…
Jan 12, 2016
54c3dad
better websocket closed detection
Jan 12, 2016
8ecc77a
message id
Jan 12, 2016
9e98fef
autoclose websockets after use
Jan 12, 2016
ec70480
allow underscores in usernames
Jan 12, 2016
08c3604
validate usernames
Jan 12, 2016
c5c095e
remove pubkey requirement
Jan 12, 2016
319e1bc
removed pubkey check for invite
Jan 12, 2016
0e0c3a2
fixed id usage
Jan 13, 2016
c5be1f8
missing ids
Jan 16, 2016
adf5ba3
added missing required profile fields
Jan 17, 2016
bfe0a6b
use array obj for addresses
Jan 17, 2016
8c39fd0
Merge branch 'v0.12.1.x' into v0.13.0.x
schinzelh Jan 23, 2016
3d28dba
log dapi commands
Feb 2, 2016
ccece2d
Merge branch 'v0.13.0.x' of http://www.github.com/dashpay/dash into v…
Feb 2, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pay-core-team.sh
*.sublime-project
*.sublime-workspace
todo.txt
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 12)
define(_CLIENT_VERSION_REVISION, 1)
define(_CLIENT_VERSION_MINOR, 13)
define(_CLIENT_VERSION_REVISION, 0)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2015)
Expand Down
22 changes: 22 additions & 0 deletions dash-docs/function-layout.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Dash2T
-- Websockets / ZeroMQ daemon

Listens on port 10014 for websocks
Listens for ZeroMQ commands (relays them locally to DashD.rpcdapi)

DashD
--

rpcdapi
dapi: Execute json command on behalf of a user (delivered locally from Dash2T)

CDapi
ValidateCommand
ExecuteCommand

EndUser
Load
Save
UpdateField

13 changes: 13 additions & 0 deletions dash-docs/prototype-setup.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Setting up the prototype (using mainnet atm):


1. Download and install dash (https://github.com/dashpay/dash)
2. Setup a data directory in ~/.dash-data
3. Create your user files. For example to create the user evan, write this file to ~/.dash-data/users/evan
file contents: {"name":"Evan Duffield","username":"evan","stars":5}
4. Download dash-2t, the tier-2 websockets proxy
5. Run the client with a command like this:
dash_t2 --datadir2="/Users/evan/.dash-data" --eventnotify="/Users/evan/Desktop/dash-2t/serve/event.py --event=%s"
6. Start dash-2t, "python app.py"
7. Download and run the electrum client at: https://github.com/evan82/electrum-dash
8. Start 2x versions of client with 2 different users : ./electrum-dash -w ~/.test-electrum2 --electrum_path=~/.electrum-test-2
17 changes: 15 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,12 @@ BITCOIN_CORE_H = \
crypter.h \
darksend.h \
darksend-relay.h \
easywsclient.h \
db.h \
eccryptoverify.h \
ecwrapper.h \
evo/file.h \
evo/dapi.h \
hash.h \
init.h \
instantx.h \
Expand Down Expand Up @@ -178,6 +181,11 @@ libbitcoin_server_a_SOURCES = \
bloom.cpp \
chain.cpp \
checkpoints.cpp \
easywsclient.cpp \
evo/file.cpp \
evo/dapi.cpp \
json/json_spirit_reader.cpp \
json/json_spirit_writer.cpp \
init.cpp \
leveldbwrapper.cpp \
main.cpp \
Expand All @@ -188,6 +196,7 @@ libbitcoin_server_a_SOURCES = \
pow.cpp \
rest.cpp \
rpcblockchain.cpp \
rpcdapi.cpp \
rpcmasternode.cpp \
rpcmasternode-budget.cpp \
rpcmining.cpp \
Expand All @@ -207,10 +216,12 @@ libbitcoin_server_a_SOURCES = \
libbitcoin_wallet_a_CPPFLAGS = $(BITCOIN_INCLUDES)
libbitcoin_wallet_a_SOURCES = \
activemasternode.cpp \
darksend.cpp \
darksend-relay.cpp \
db.cpp \
crypter.cpp \
darksend.cpp \
darksend-relay.cpp \
evo/file.cpp \
evo/dapi.cpp \
instantx.cpp \
masternode.cpp \
masternode-budget.cpp \
Expand Down Expand Up @@ -287,6 +298,8 @@ libbitcoin_common_a_SOURCES = \
chainparams.cpp \
coins.cpp \
compressor.cpp \
evo/file.cpp \
evo/dapi.cpp \
primitives/block.cpp \
primitives/transaction.cpp \
core_read.cpp \
Expand Down
4 changes: 2 additions & 2 deletions src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

//! These need to be macros, as clientversion.cpp's and dash*-res.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 12
#define CLIENT_VERSION_REVISION 1
#define CLIENT_VERSION_MINOR 13
#define CLIENT_VERSION_REVISION 0
#define CLIENT_VERSION_BUILD 0

//! Set to true for release, false for prerelease or test build
Expand Down
Loading