471 Commits

Author SHA1 Message Date
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
jholdstock
94f9031dcb Fail build if go mod tidy/download changes 2020-07-09 21:01:40 +00:00
jholdstock
29fcf83bb5 Start monitoring guide 2020-07-09 21:01:20 +00:00
jholdstock
3bbad27624 Endpoint for JSON wallet status 2020-07-09 21:01:20 +00:00
jholdstock
1c351d02ec Add voting wallet status to admin page 2020-07-09 21:01:20 +00:00
jholdstock
da410b5060 Update log format 2020-07-09 21:01:20 +00:00
jholdstock
c05cdc0069 Construct full RPC addr just once 2020-07-09 21:01:20 +00:00
jholdstock
c5485a28ec Return string for failed rpc connections 2020-07-09 21:01:20 +00:00
jholdstock
7f969c6db5 Dont fail wallet connection if wallet is locked 2020-07-09 21:01:20 +00:00
jholdstock
aed1e5f5d4 Extract walletinfo for re-use 2020-07-09 21:01:20 +00:00
jholdstock
b029d88fdb Check dcrwallet network before calling walletinfo RPC 2020-07-09 21:01:20 +00:00
jholdstock
70ba1adc93 Combine ImportPrivKey and AddTransaction 2020-07-09 21:01:20 +00:00
David Hill
b24c1a4c78
webapi: sanity check the fee transaction (#151) 2020-07-06 10:07:59 +01:00
David Hill
4f0c980aca
database: protect access with a mutex (#150) 2020-07-06 10:06:43 +01:00
jholdstock
08be1fa55a Log failing wallet client 2020-06-30 14:57:38 +00:00
jholdstock
27e49e5e69 Include ticket hex in feeaddress request. 2020-06-30 14:57:38 +00:00
jholdstock
1131e15ff1 Include ticket hex in feeaddress request. 2020-06-29 16:42:10 +00:00
jholdstock
8b049204eb Load fonts.css last 2020-06-25 15:46:27 +00:00
jholdstock
eb0946fada Don't write http body on db write error 2020-06-25 15:45:48 +00:00
jholdstock
5e8ef4e7f2 Prefix for dcrd/dcrwallet/db errors 2020-06-25 15:45:01 +00:00
jholdstock
0e953dc225 Add extra debug info to log messages 2020-06-25 15:45:01 +00:00
jholdstock
43f9f09734 Add funcName to background 2020-06-25 15:45:01 +00:00
jholdstock
2c91a9bf9d Add funcName to middleware logs 2020-06-25 15:45:01 +00:00
jholdstock
f42d3ee62f Use correct format verb for dcrutil.Amount 2020-06-25 15:45:01 +00:00
jholdstock
9d6cf57219 Add funcName to web api logs 2020-06-25 15:45:01 +00:00