- Official site: http://pocdag.com
- Block explorer: http://explorer.pocdag.com
- The Main net was launched January 5, 2019 at 22:45 GMT
- 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:
- poc_get_new_address - call to get a new address , if succeeded returns the new address
- 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.
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:
******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.