Jamie Holdstock
6474f0ea4c
Additional test coverage for DB code. ( #213 )
...
* Test DB HTTP backup
* Test DB initialization
* Test CountTickets
2020-12-26 20:42:50 +00:00
Julian Y
2bee3203bd
Fix minor spelling ( #211 )
2020-12-17 10:40:19 +00:00
David Hill
2a096d81f9
fix errorlint warnings ( #193 )
2020-11-25 15:14:18 +00:00
David Hill
bd6b2e42f4
build: upgrade deps ( #210 )
2020-11-25 14:52:21 +00:00
Jamie Holdstock
33703d972a
Properly call String function. ( #209 )
2020-11-25 14:37:25 +00:00
Jamie Holdstock
4f8b3c79eb
Add debug logging to TicketInfo RPC. ( #208 )
2020-11-21 22:12:29 +00:00
David Hill
1c6f962e2b
api: add optional parent transaction to feeaddress ( #205 )
2020-11-20 13:10:13 +00:00
jholdstock
0f657eb4fe
Register tickets with invalid vote choices.
...
/payfee will no longer reject tickets with invalid vote choices. The tickets will be registered with the VSP and added to voting wallets, but their voting choices will be empty. A warning will be added to server logs.
2020-11-16 14:00:17 +00:00
David Hill
04b07346c8
build: bump deps
2020-11-09 17:00:25 +00:00
jholdstock
1013354292
Update to latest dcrd deps
2020-10-28 12:37:03 +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
jholdstock
56a5aa5b1d
background: Exit early if no votable tickets
2020-10-09 12:41:11 +00:00
David Hill
a67de8a024
rpc: optimize TicketInfo ( #189 )
2020-10-05 10:30:42 +01:00
jholdstock
288aa09c6d
Stop blockConnected handler if no wallet connected
2020-10-01 12:45:15 +00:00
jholdstock
c82b08b760
Use shutdownCtx for dcrdWithNotifs
2020-09-25 15:59:12 +00:00
jholdstock
f06d4cd8ba
Use background context for background processes
2020-09-25 15:59:12 +00:00
jholdstock
5c41761f1e
Dont handle notifs during shutdown
2020-09-25 15:59:12 +00:00
David Hill
c83a2a0085
rpc: verify dcrwallet's have --manualtickets set. ( #187 )
2020-09-25 09:55:53 +01:00
jholdstock
fedd2cd784
Serialize record before creating bucket
2020-09-17 16:05:07 +00:00
jholdstock
825a717ca7
Store records of vote choice changes
2020-09-17 16:05:07 +00:00
jholdstock
d0c3abf258
Make funcNames constant.
...
Aside from just being a sensible thing to do, this also prevents a local stack allocation.
2020-09-17 14:21:17 +00:00
jholdstock
f2ae9a81ea
Dont underline logo on hover
2020-08-31 17:18:30 +00:00
jholdstock
c7f8cea4dc
webapi: base64 encode server signature
2020-08-31 17:14:33 +00:00
jholdstock
5a8bc49c22
Unique error for fee broadcast failure
2020-08-21 12:46:58 +00:00
jholdstock
8c428c769d
Return descriptive error if ticket cannot be broadcast
2020-08-21 12:46:58 +00:00
jholdstock
4a207b15f8
Add missing copyright notices
2020-08-19 20:22:12 +00:00
jholdstock
dab1666310
Only load .html files in template dir
2020-08-19 20:20:13 +00:00
jholdstock
e2483b6cea
Fix backup file mode
2020-08-17 19:14:57 +00:00
jholdstock
6c12ddeb31
Write a backup after closing the db, not before
2020-08-17 19:14:57 +00:00
jholdstock
1e3fe1b669
harness: Use stdin to create wallets
2020-08-17 19:14:30 +00:00
jholdstock
2f0c5149ac
Update to go 1.15
2020-08-17 19:13:33 +00:00
jholdstock
4bcfa80dc4
Fix admin page load when no wallet clients connected.
2020-08-07 17:03:27 +00:00
jholdstock
aa790b28aa
Fix colspan on wallet status table.
2020-08-07 17:03:27 +00:00
jholdstock
e0fc5b8d04
Add basic http auth for /admin/status. Update docs.
2020-08-07 17:03:27 +00:00
jholdstock
ba77d39f35
Comment exported methods
2020-08-07 17:03:03 +00:00
jholdstock
bcb6fd5ec3
Don't export types unnecessarily
2020-08-07 17:03:03 +00:00
David Hill
b8c6ffe1e0
rpc: set tls options ( #168 )
...
* rpc: set tls options
* build: golangci-lint v1.30.0
2020-08-06 09:00:35 +01: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
c308b8a9a6
Close RPC connection if server doesnt meet reqs
2020-08-03 13:26:47 +00:00
jholdstock
4139f25670
semver matching for dcrd/dcrwallet RPC versions
2020-08-03 13:26:47 +00:00
David Hill
de9c6b428e
background: handle fee transaction doublespends ( #164 )
2020-07-31 08:55:28 +01:00
jholdstock
6cc246ceea
Configure RPC auth per wallet host.
2020-07-30 18:26:01 +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
vctt94
6f2a069047
Fix ticket status request erroring on json unmarshal
2020-07-16 18:09:45 +00:00
jholdstock
2f8d2ab53d
Remove timestamp from ticket status request
2020-07-16 15:06:50 +00:00
jholdstock
5018d45908
base64 encoding for pubkey on homepage
2020-07-15 13:46:59 +00:00
jholdstock
a112127247
Add vspd versioning
2020-07-15 13:46:00 +00:00