Jamie Holdstock
d8dd02433c
Move CanTicketVote out of dcrd RPC client.
...
`CanTicketVote` doesn't really fit into the RPC client code as it is more of a business logic function. Moving it into the webapi package is more appropriate.
2022-05-06 11:14:22 +01:00
jholdstock
49f68fd5ec
Rename test.
...
I assume "hist at max" is leftover from when it was possible to set more than one alt sign address.
2022-05-06 11:14:22 +01:00
jholdstock
5aa8f9faaf
Create testNode up-front.
...
Theres no need to declare separate vars for the testNode and then create it later, it can just be created up-front.
2022-05-06 11:14:22 +01:00
jholdstock
6057c2b273
Run webapi tests as sub-tests.
...
Running as sub-tests has the benefit of automatically logging the test name, no need to include it in failure messages manually. It even works if the test panics.
2022-05-06 11:14:22 +01:00
jholdstock
b32bb56032
Remove hash param from CanTicketVote.
...
CanTicketVote already has the full rawTx, so it doesn't need the hash passed in separately.
2022-05-06 11:14:22 +01:00
jholdstock
37d51df546
Remove global vars from webapi package.
2022-03-28 08:54:09 +01:00
jholdstock
9fa1012f3d
Add some new linters.
2022-03-21 14:49:40 +00:00
ukane-philemon
0b78c9c2da
Show altsignaddress req/res in admin UI
2022-01-13 12:40:16 +00:00
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