39 Commits

Author SHA1 Message Date
jholdstock
ab5aa4dd6d Clarify "setaltsig" terminology.
Stardardize "alt sig"/"alt signature"/"alt signing address" terminology to "alternate signing address".
2021-11-16 14:49:13 +00:00
jholdstock
6acc5be10c Add dcrd to VSP status.
This renames "Voting wallet status" to "VSP status" and it now includes the status of the local dcrd instance. This change impacts both the /admin page of the UI, and the response of the /admin/status API endpoint.
2021-11-16 14:33:39 +00:00
JoeGruff
fc1357aa38 docs/api: Add setaltsig details. 2021-10-23 11:14:11 +01:00
Jamie Holdstock
522a363bda
Add architecture diagram to deployment.md. (#296)
Also add a note that voting wallets should not be run on the
web server.
2021-09-15 13:47:48 -05:00
Jamie Holdstock
d1a838bf7f Add vspclosedmsg config.
If vspclosed is set to true, the provided message will be displayed on the webpage and returned by the status API endpoint.
2021-06-10 09:45:22 +08:00
Jamie Holdstock
9867f78385
Add network proportion to homepage and /vspinfo (and revoked proportion) (#264)
* Add network proportion to homepage and /vspinfo.

Proportion is calculated using the number of tickets  currently registered with the VSP, divided by the total size of the network ticket pool as reported by `getblockheader`.

The value will only ever be an estimate because:

- it's possible for a single ticket to be added to multiple VSPs.
- vspd does not distinguish between immature and live tickets, whereas `getblockheader` only reports live tickets.
- `getblockheader` is reporting the size of the ticket pool as of the previous block, not the current block.

* xaur suggestions

* Show missed ticket %, not just the raw number.
2021-06-08 08:47:07 -05:00
Jamie Holdstock
ef472ffe5d
Include best block height in /vspinfo response (#254) 2021-05-14 21:09:03 -05:00
Jamie Holdstock
268d293749
Release 1.0.0 release note (#217) 2020-12-29 18:59:47 +00:00
Jamie Holdstock
e5d449f149
Clear TODOs from accountability doc (#216)
* Clear TODOs from accountability doc

* Add note about master/release

* Add missing space
2020-12-29 18:59:21 +00:00
Julian Y
2bee3203bd
Fix minor spelling (#211) 2020-12-17 10:40:19 +00:00
David Hill
1c6f962e2b
api: add optional parent transaction to feeaddress (#205) 2020-11-20 13:10:13 +00:00
Jamie Holdstock
b40681d38e
HTTP 428 when fee tx references unknown outputs. (#195)
JSON body will be `{"code": 16, "message":"fee transaction could not be broadcast due to unknown outputs"}`
2020-10-27 11:15:39 +00:00
David Hill
c83a2a0085
rpc: verify dcrwallet's have --manualtickets set. (#187) 2020-09-25 09:55:53 +01:00
jholdstock
e0fc5b8d04 Add basic http auth for /admin/status. Update docs. 2020-08-07 17:03:27 +00:00
jholdstock
5e592bb25b Update disaster recovery docs
Mention that wallets can be recovered automatically now that the consistency checking code is merged.
2020-08-03 13:27:42 +00:00
jholdstock
d92a76abd3 docs: Mention decred.org listing, add some TODOs 2020-07-29 18:43:24 +00:00
jholdstock
9d503e67ae Wallet consistency checks & setting ticket outcome 2020-07-28 20:09:23 +00:00
jholdstock
8c3cab7942 API versioning 2020-07-17 14:31:42 +00:00
vctt94
0a57bd3ce7 Change docs to POST 2020-07-16 18:09:45 +00:00
jholdstock
a112127247 Add vspd versioning 2020-07-15 13:46:00 +00:00
jholdstock
29fcf83bb5 Start monitoring guide 2020-07-09 21:01:20 +00:00
jholdstock
1131e15ff1 Include ticket hex in feeaddress request. 2020-06-29 16:42:10 +00:00
jholdstock
9ade20bf1c Mention admin features in docs. 2020-06-13 23:40:05 +00:00
jholdstock
4f2766352b Improve handling of fee status.
- Fee tx status is now tracked using a dedicated field, with values none/received/broadcast/confirmed/error.
- Fee tx hex and hash are now both set in /payfee. The absense of txhash is no longer used to determine if a fee tx has been broadcast or not.
- setvotechoices can no longer be called before a fee is received.
- Remove `binding:required` from response types. It has no effect on responses, it is only needed on request types which are validated by gin.
2020-06-09 14:17:43 +00:00
jholdstock
10258f9c29 Mention ssl in deployment docs. 2020-06-09 13:11:46 +00:00
David Hill
873d89e412
remove fee transactions if dcrd rejects it. (#114) 2020-06-08 17:31:22 +01:00
jholdstock
9f48bae78e Return parsable error codes instead of just a string.
Also
- Check if VSP is closed before /payfee
2020-06-08 15:33:06 +00:00
Jamie Holdstock
d407af35c0
Accept feexpub once at startup. (#97) 2020-06-03 18:10:30 +01:00
jholdstock
381cf9e5a2 Add deployment guide. 2020-06-03 12:49:43 +00:00
jholdstock
81a6bf1ea8 Reject unvotable tickets.
/payfee and /getaddress will now only accept tickets which are immature or live.
2020-06-03 12:49:14 +00:00
jholdstock
1270f77fd6 Return err if fee tx already received. 2020-06-03 12:45:42 +00:00
jholdstock
2a476d9589 Validate fee config 2020-06-03 12:43:14 +00:00
jholdstock
85a806fb3a Tidy docs 2020-05-29 19:09:25 +00:00
jholdstock
2956285e61 Fix link 2020-05-29 19:09:25 +00:00
Jamie Holdstock
4b2a68ea48
Populate ticket status response. (#82) 2020-05-28 18:05:56 +01:00
Jamie Holdstock
6a100811f4
Enable pool closure (#80)
* Enable pool closure.

* Move homepage to its own file

* Docs and rename status>info
2020-05-28 07:07:33 +01:00
Jamie Holdstock
d275fddf1b
Remove votechoices from setVoteChoices response. (#81) 2020-05-28 06:58:26 +01:00
Jamie Holdstock
67dece7041
Rename to vspd. (#75) 2020-05-27 15:59:30 +01:00
Jamie Holdstock
d5c949b9ad
Split docs into seperate files (#72) 2020-05-27 15:36:21 +01:00