Jamie Holdstock
f1cc73e218
Add mainnet pre-release warning.
...
Make the existing startup warning more obvious, and add a new one for when a pre-release version of vspd is used on mainnet.
2022-03-28 16:37:12 +01:00
Jamie Holdstock
b97609cd2c
Update shutdown signalling. ( #293 )
...
Bring in some updates from the signal handling code in other projects:
- Rename `signals` to more descriptive `interruptSignals`.
- Add SIGHUP to unix shutdown signals. Rename `signalsigterm.go` to `signal_unix.go` accordingly.
- Include extra detail in "Already shutting down..." messages log lines.
- Pass a shutdown func into `webapi.go` rather than a channel. It's more obvious how to invoke a func, whereas a channel can be used in multiple ways.
2021-08-26 09:28:51 -05:00
Jamie Holdstock
74d32c5f09
Ensure PurchaseHeight is set for all tickets.
...
This is necessary because of an old bug which, in some circumstances, would prevent purchase height from being stored.
2021-06-25 15:56:35 +08:00
Jamie Holdstock
b56dc26558
Add shutdownWg to dcrd notif handler.
...
This prevents db/dcrd/dcrwallet connections from being closed while the dcrd notification handler is running.
2021-06-15 10:13:31 +08: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
b9d4db40e9
Use vspd version as cache buster for .css files.
...
This will ensure when VSP admins update to a new version of vspd, web visitors will not use cached old .css files.
2021-06-09 21:25:05 +08:00
jholdstock
b5a65a9e78
Add block explorer links to tx hashes and fee addr
2021-05-13 12:16:08 +01:00
jholdstock
825a717ca7
Store records of vote choice changes
2020-09-17 16:05:07 +00:00
jholdstock
4a207b15f8
Add missing copyright notices
2020-08-19 20:22:12 +00:00
jholdstock
6cc246ceea
Configure RPC auth per wallet host.
2020-07-30 18:26:01 +00:00
jholdstock
a112127247
Add vspd versioning
2020-07-15 13:46:00 +00:00