374 Commits

Author SHA1 Message Date
Jamie Holdstock
e70bb206c3
Generalize database accessor. (#24) 2020-05-18 15:20:29 +01:00
Jamie Holdstock
04311000e8
Move web assets under webapi package. (#26) 2020-05-18 15:20:13 +01:00
Jamie Holdstock
7dbee5b6c2
Add dcrwallet RPC client (#25) 2020-05-18 15:19:35 +01:00
Jamie Holdstock
6ca2f620b7
Use a waitgroup to wait for shutdown tasks (#21) 2020-05-18 09:05:10 +01:00
David Hill
1092df5224
use dcrutil.VerifyMessage versus RPC (#22) 2020-05-18 08:42:35 +01:00
Jamie Holdstock
8768014348
Add shutdown context. (#20) 2020-05-17 07:49:53 +01:00
David Hill
70ed281215
start hooking up database (#17) 2020-05-15 16:33:55 +01:00
David Hill
72ba2ce3b1
add setvotebits api (#18) 2020-05-15 16:33:20 +01:00
Jamie Holdstock
7c5ab7ebae
Add basic HTML page and project license (#15) 2020-05-15 16:07:26 +01:00
David Hill
d8b6517dbd
ticketstatus api (#13) 2020-05-15 15:45:24 +01:00
David Hill
6b6655cfed
Additional sanity (#10)
* Add expiration field

VSPs may wish to change their poolFees.  We must honor the poolfee
given in the feeaddress request, but only for a certain amount of time.

* VSP must also sign voteBits as a guarantee

* add timestamps and full requests to the responses
2020-05-15 08:49:34 +01:00
David Hill
c371f1983b
add helper functions (#9) 2020-05-15 08:48:22 +01:00
Jamie Holdstock
57dfc1ed6d
Add decred logging and config (#8) 2020-05-14 19:02:45 +01:00
David Hill
48f7a584ac
Expect JSON for requests (#7) 2020-05-14 18:52:21 +01:00
Jamie Holdstock
d0236e5c04
Implement ticket storage and retrieval (#5) 2020-05-14 14:04:14 +01:00
jholdstock
5da8d9238b Temporarily disable linter 2020-05-14 14:00:18 +01:00
jholdstock
8fe044d5ef Run CI script directly, not through sh 2020-05-14 13:58:34 +01:00
David Hill
1a5bd03e32
add /feeaddress (#3) 2020-05-14 13:54:42 +01:00
Jamie Holdstock
b45bbf8896
Enable CI through GitHub Actions (#4) 2020-05-14 13:53:48 +01:00
David Hill
43f80f009d
add /fee and /pubkey methods (#2) 2020-05-14 08:28:05 +01:00
David Hill
a1429c7d8d
prepare wsrpc usage (#1) 2020-05-13 21:59:59 +01:00
jholdstock
fcd068deb3 Rename Fees => Tickets 2020-05-13 21:48:59 +01:00
jholdstock
f919d4d8fc Add missing db stubs and begin db implementation 2020-05-13 21:25:35 +01:00
jholdstock
1c72b8f1e5 init 2020-05-13 17:08:02 +01:00