No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
automake
client
dnet
documentation
dus/programs
ldus/source/include/ldus
mac
secp256k1
win
.gitignore
CONTRIBUTORS.md
Contributing.md
LICENSE
Protocol-cn.md
Protocol.md
README.md
README.rus
WhitePaper zh-cn.md
WhitePaper.md

README.md

POC cryptocurrency

Principles:

  • Directed acyclic graph (DAG), not blockchain
  • Block = transaction = address
  • Original idea and implementation
  • Mineable, no premine, no ICO
  • Mining new money every 64 seconds

How to compile:

under directory "client" there are two Makefiles:

---1# Makefile - this one used to make poc, just call make under this directory like this: root#make.

---2# Makefile.exwallet - this one used to make exwallet, command line : make -f Makefile.exwallet

If you are compiling poc then using 1#, In case of compiling exwallet use 2#. Also if you still have some troubles with compiling of POC or exwallet please join us discord server https://discord.gg/dppcgHf DEVs are here for help.

RPC for exchange:

3 main interfaces are provided for RPC:

  1. poc_get_new_address - call to get a new address , if succeeded returns the new address
  2. poc_do_xfer - make a new transaction,the parameters allow callee to specify amount, toaddress and/or fromaddress

this project is placed under directory "exwallet",the sample parameters used to initialize the core as an exwallet,once the exwallet is running properly,then your app can make rpc invoking to it.

rpc port is specified by method xdag_init() in exwallet project.

about balance notifications: Once the balance of an address changes, exwallet will call an external program, the external program is provided by the exchange, used to receive the notification of the balance change, and the next step is processed, the notification method is a command line parameter call just like this :

balancenotify A9AVr5asrqSht9aBpGEG9EoJwYYz61udW 1999.000000000

In this program (balancenotify), exchange developers can handle notifications, such as reading and writing databases, changing user database records, and so on.

Note:

If you are running an exwallet, the file pools.txt must be put in the same directory as exwallet to tell exwallet which pool can be connected,and there is only one pool address is available:

---- expool.pocdag.com:23654

******WARNING: DO NOT USE OTHER POOL ADDRESSES OR YOU WILL FAIL

the reason for this is we updated the pool code for expool.pocdag.com only, but other pools didn't do so.