OSDN Git Service

Add the basic framework for voting processing for dpos
[bytom/vapor.git] / api / api.go
index 937f8f8..af242a6 100644 (file)
@@ -254,6 +254,15 @@ func (a *API) buildHandler() {
                m.Handle("/build-mainchain-tx", jsonHandler(a.buildMainChainTxForContract))
                m.Handle("/sign-with-key", jsonHandler(a.signWithKey))
                m.Handle("/dpos", jsonHandler(a.dpos))
+               // registe
+               // vote
+               // cancelvote
+               // listdelegates
+               // getdelegatevotes
+               // getdelegatefunds
+               // listvoteddelegates
+               // listreceivedvotes
+               // getirreversibleblock
        } else {
                log.Warn("Please enable wallet")
        }