Commit Graph

  • f8096ef8c4 README: Add link to blog. jholdstock 2023-04-17 16:42:07 +01:00
  • 08ea48f7a3
    Update decred dependencies. (#378) Jamie Holdstock 2023-04-12 14:16:29 +01:00
  • 6b99c5d2b5
    webapi: Use types 2.0.0 (#376) Jamie Holdstock 2023-04-12 14:12:53 +01:00
  • b5ac64891e
    Add v3tool. (#366) Jamie Holdstock 2023-03-24 18:10:44 +00:00
  • 0c06145d67 client: Use types 2.0.0 jholdstock 2023-03-16 16:11:31 +00:00
  • 6d78e16b23 types: Use ErrorCode in ErrorResponse. jholdstock 2023-03-16 15:54:39 +00:00
  • 8303aa8536 client: Add tests for server signature validation. jholdstock 2023-03-01 09:24:53 +00:00
  • 79fd2f7bbe client: Add additional test case for errors. jholdstock 2023-03-01 09:23:33 +00:00
  • be79a8e279 client: Hard-code validate func. jholdstock 2023-03-01 08:37:32 +00:00
  • 2fec8cf5d8 docs: Add sample nginx config. jholdstock 2023-03-02 12:40:03 +00:00
  • 62803147f0 webapi: Rate limit for admin login requests. jholdstock 2023-03-02 12:40:44 +00:00
  • d00ba70f94
    vspd: Fix invalid default config log level. (#371) Jamie Holdstock 2023-02-24 14:55:25 +00:00
  • 2c1bb0027f
    docs: Remove dcrstakepool note. (#370) Jamie Holdstock 2023-02-24 14:54:56 +00:00
  • 31a2726578 client: Add tests for error handling. jholdstock 2022-12-31 13:08:38 +00:00
  • 36505b529c client: Remove constructor. jholdstock 2022-12-31 13:04:43 +00:00
  • 33bb68c3df types: Run tests as sub-tests. jholdstock 2022-12-31 14:07:43 +00:00
  • fb8c58c512 build: Update deps. jholdstock 2023-02-12 10:04:17 +00:00
  • 67910d0fb3 build: Update to go 1.20. jholdstock 2023-02-12 10:07:28 +00:00
  • 7718476caf
    webapi: Move VSP closed check to middleware. Jamie Holdstock 2023-02-17 20:44:13 +00:00
  • 824c41c2a5
    Remove duplicate fee addr check. (#361) Jamie Holdstock 2022-12-01 13:08:18 +08:00
  • 4acd57efbc
    Add client module (#359) Jamie Holdstock 2022-11-29 00:16:00 +08:00
  • 5d7d347114
    Use tagged types module. (#358) Jamie Holdstock 2022-11-29 00:14:58 +08:00
  • 68047dc6ce build: Ensure ci lints all modules. Jamie Holdstock 2022-11-24 16:19:36 +08:00
  • c9f3573d8b build: Only invoke tests once. Jamie Holdstock 2022-11-24 15:53:47 +08:00
  • 42d91752f5 build: Rename root pkg path vars. Jamie Holdstock 2022-11-24 10:23:58 +08:00
  • 6d872db60e
    Rename APIError to ErrorResponse. (#360) Jamie Holdstock 2022-11-22 17:09:06 +08:00
  • ed1fac1a2a
    Add types module for API requests/responses/errors. (#356) Jamie Holdstock 2022-11-19 04:06:47 +08:00
  • a5998264b3
    Include commit ID in build info. (#357) Jamie Holdstock 2022-11-19 04:06:00 +08:00
  • 8bb868a5a5
    Add vote-validator tool. (#335) Jamie Holdstock 2022-11-19 04:05:38 +08:00
  • 32790984fe Make database backups optional. jholdstock 2022-09-27 14:50:49 +01:00
  • 11401c5369
    Move vspd into cmd directory. (#352) Jamie Holdstock 2022-09-27 14:54:23 +01:00
  • c961423e9e
    Update to go 1.19 (#351) Jamie Holdstock 2022-08-12 16:30:23 +01:00
  • e23e3729e8 Helper func for stdout logger. jholdstock 2022-06-27 09:14:54 +01:00
  • 65fab01225 Remove remaining global loggers. jholdstock 2022-06-23 11:56:33 +01:00
  • ebcfe0e5e9 Remove global logger from webapi. jholdstock 2022-06-13 16:09:43 +01:00
  • 7f72caafe7 Remove global vars from background.go jholdstock 2022-06-08 10:26:54 +01:00
  • 01b0df2d7a Remove global loggers from components. jholdstock 2022-06-08 11:28:54 +01:00
  • 63ce069a88 Use gin 1.8.1. jholdstock 2022-06-08 11:57:17 +01:00
  • 4beb036663 rpc: Use context.TODO instead of .Background jholdstock 2022-05-19 07:56:58 +01:00
  • 1db99bfddf db.Close() if an error occurs in db.Open(). jholdstock 2022-05-16 14:11:07 +01:00
  • ebadf8eefc Make run() return int instead of error. jholdstock 2022-03-31 13:48:40 +01:00
  • 75026f5e91 Clean up use of shutdown context. jholdstock 2022-03-31 13:44:52 +01:00
  • e0b0630248 Move MinWallets to netParams. jholdstock 2022-03-31 09:38:06 +01:00
  • d4b3d2fafb Make writeHotBackupFile a method of VspDatabase. jholdstock 2022-03-31 09:30:51 +01:00
  • d8dd02433c Move CanTicketVote out of dcrd RPC client. Jamie Holdstock 2022-05-06 11:12:19 +01:00
  • 49f68fd5ec Rename test. jholdstock 2022-03-30 12:41:31 +01:00
  • 5aa8f9faaf Create testNode up-front. jholdstock 2022-03-30 12:33:26 +01:00
  • 6057c2b273 Run webapi tests as sub-tests. jholdstock 2022-03-30 12:00:56 +01:00
  • b32bb56032 Remove hash param from CanTicketVote. jholdstock 2022-03-30 11:54:40 +01:00
  • 9c334d8afc .gitignore test.db created by webapi tests. jholdstock 2022-03-30 11:53:33 +01:00
  • 78bb28056c
    Remove global cache variable. (#341) Jamie Holdstock 2022-03-30 17:00:42 +01:00
  • 78abc59e97 Update for go 1.18 jholdstock 2022-03-28 10:31:51 +01:00
  • a412e3e8b9 Tidy hard-coded strings. jholdstock 2022-03-28 15:19:43 +01:00
  • c91ec5c697 Use time.After instead of tickers. jholdstock 2022-03-28 14:35:15 +01:00
  • 9fe6eb8e52 Critical log startup and shutdown. jholdstock 2022-03-28 13:44:49 +01:00
  • fba9fe5b0a Move database encoding helpers. jholdstock 2022-03-28 13:43:11 +01:00
  • 3b1812e98f Minor cleanups for new helpers. jholdstock 2022-03-28 09:35:15 +01:00
  • f1cc73e218
    Add mainnet pre-release warning. Jamie Holdstock 2022-03-28 16:37:12 +01:00
  • 37d51df546 Remove global vars from webapi package. jholdstock 2022-03-15 15:50:29 +00:00
  • 4d4f9c8ca0
    add new helper functions Ukane philemon 2022-03-28 08:26:08 +01:00
  • 860e50130e
    Add 1.1.1 release note Jamie Holdstock 2022-03-23 12:27:26 +00:00
  • aac96f8c9d
    Fix assignment to nil map. Jamie Holdstock 2022-03-22 13:46:43 +00:00
  • 9fa1012f3d Add some new linters. jholdstock 2022-03-17 15:55:24 +00:00
  • 2d67a35ba5 Use golangci-lint GitHub action. jholdstock 2022-03-17 12:33:55 +00:00
  • 00b26f8b0a
    gitignore .exe files Ukane philemon 2022-03-21 15:48:00 +01:00
  • 3bb2f65151
    add votingwalletsonline and totalvotingwallets to /vspinfo Ukane philemon 2022-03-17 11:40:47 +01:00
  • 9a4646f002
    Use GitHub mermaid.js rendering. Jamie Holdstock 2022-03-17 09:52:44 +00:00
  • 655e5756af
    Using error.Is and error.As Ukane philemon 2022-03-15 11:20:07 +01:00
  • 4dd4954517
    Bump version to 1.2.0-pre Jamie Holdstock 2022-03-14 12:40:58 +00:00
  • f0430f1f6c
    Add 1.1.0 release note Jamie Holdstock 2022-02-18 06:35:47 +00:00
  • da1cb8f916
    Enable treasury vote choices. (#319) Jamie Holdstock 2022-02-04 19:14:49 +00:00
  • dcbf8a2c18
    Ensure previous vote choices are remembered. (#323) Jamie Holdstock 2022-02-02 15:04:53 +00:00
  • 040ed56f11
    Use DCP-0010 status to calculate fees. Jamie Holdstock 2022-01-20 08:54:52 +00:00
  • 74aa7bcd13
    Added alternate signing address to /ticketstatus response (#314) Ukane philemon 2022-01-17 11:50:46 +01:00
  • 0b78c9c2da Show altsignaddress req/res in admin UI ukane-philemon 2022-01-13 12:54:07 +01:00
  • 0fd96388ce
    build: bump dcr deps (#310) David Hill 2021-12-29 06:23:45 -05:00
  • 913b38bf14
    Configurable harness directory. (#309) Jamie Holdstock 2021-11-29 19:34:47 +00:00
  • 0919c6db29
    Update gin to 1.7.7. (#308) Jamie Holdstock 2021-11-29 19:34:18 +00:00
  • 43873ec320 Record expired/missed tickets as revoked. jholdstock 2021-10-27 14:30:41 +01:00
  • ab5aa4dd6d Clarify "setaltsig" terminology. jholdstock 2021-11-14 12:50:31 +00:00
  • b1a68a94fe Use constants for web context keys. jholdstock 2021-11-15 09:10:09 +00:00
  • 6acc5be10c Add dcrd to VSP status. jholdstock 2021-11-03 10:33:04 +00:00
  • d337e0a321 Delay dcrd client error handling. jholdstock 2021-11-03 10:35:45 +00:00
  • ce5227356d Update build tags to pref. go1.17 syntax. jholdstock 2021-11-03 10:22:23 +00:00
  • 6260e4ee5b Add alternate sign address to ticket search result jholdstock 2021-11-11 12:56:12 +00:00
  • efa5a09820 Don't export types unnecessarily. jholdstock 2021-11-11 12:49:07 +00:00
  • 4ea25ec327 Extract search results to own template. jholdstock 2021-11-11 12:48:43 +00:00
  • fc1357aa38 docs/api: Add setaltsig details. JoeGruff 2021-06-28 14:40:00 +09:00
  • b868b828f1 middleware: Allow alternate vsp auth address. JoeGruff 2021-06-28 14:25:27 +09:00
  • 6191ddb7c0 webapi: Add setaltsig endpoint. JoeGruff 2021-06-28 13:52:33 +09:00
  • 6e13d23214 db/ticket: Add AltSigAddress. JoeGruff 2021-06-25 14:13:17 +09:00
  • 623bb192d1
    Use latest dcrd RPC version. Jamie Holdstock 2021-10-23 11:13:51 +01:00
  • 67b4c6c019
    Use reflect.DeepEqual where possible. (#294) Jamie Holdstock 2021-09-15 20:24:51 +01:00
  • 7f25f6614c
    Remove string compare in dcrd error handling. (#295) Jamie Holdstock 2021-09-15 20:24:25 +01:00
  • 522a363bda
    Add architecture diagram to deployment.md. (#296) Jamie Holdstock 2021-09-15 19:47:48 +01:00
  • 83253f3c19
    Use go 1.16 features (#292) Jamie Holdstock 2021-08-26 15:29:43 +01:00
  • b97609cd2c
    Update shutdown signalling. (#293) Jamie Holdstock 2021-08-26 15:28:51 +01:00
  • 9ef8834187
    build: test against Go 1.17 (#291) David Hill 2021-08-22 12:34:30 -05:00
  • ce0e28b8de
    Use latest gin-gonic patch (#289) Jamie Holdstock 2021-08-15 18:41:29 +01:00
  • f9c4e03eaa
    cache: Avoid unlikely zero division. (#282) JoeGruffins 2021-08-03 18:39:02 +09:00