add retry logic to miner when hitting wallet coinbase API (#213)
* mount v2 router for flexibility, wallet checker now refreshes multiple outputs via single api call * fix the api router * wallet api handlers, miner uses wallet_client * retry logic via tokio_retry, miner creates new coinbase output via wallet API (retries several times) * move wallet client into wallet crateand rework the lock acquisition logic to use tokio_retry
This commit is contained in:
committed by
Ignotus Peverell
parent
efe414bf07
commit
8b324f7429
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2016 The Grin Developers
|
||||
// Copyright 2017 The Grin Developers
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
Reference in New Issue
Block a user