dcrd/internal
Dave Collins bccbb9a722
rpcserver: Return template errors from getwork RPC.
This modifies the RPC server getwork method to return an error in the
case of a failed background template.  Callers generally expect an error
as opposed to long blocking behavior in the case there is a temporary
reason block templates are unable to be generated.

Also, correct the offsets in the comments regarding the serialized
locations of the fields while here.
2022-08-03 11:55:55 -05:00
..
blockchain blockchain: Consistency pass for next req dif calc. 2022-08-03 11:55:54 -05:00
fees multi: Go 1.19 doc comment formatting. 2022-07-30 04:08:58 -05:00
limits multi: update build tags to pref. go1.17 syntax. 2021-10-19 20:21:44 -05:00
mempool multi: Go 1.19 doc comment formatting. 2022-07-30 04:08:58 -05:00
mining mining: Copy regular txns for alternate templates. 2022-08-03 11:55:55 -05:00
netsync mempool: Remove ProcessTransaction rate limit. 2022-06-29 13:07:06 -05:00
progresslog multi: Go 1.19 doc comment formatting. 2022-07-30 04:08:58 -05:00
rpcserver rpcserver: Return template errors from getwork RPC. 2022-08-03 11:55:55 -05:00
staging multi: Go 1.19 doc comment formatting. 2022-07-30 04:08:58 -05:00
version release: Bump for 1.8 release cycle. 2021-12-17 17:39:24 -06:00