Settable pending flag on nonce bootstrap

This commit is contained in:
lash 2022-05-21 21:04:28 +00:00
parent f66f93d867
commit 404aeebe5f
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
- 0.3.1
* Make pending flag for nonce at rpc bootstrap settable
- 0.3.0
* Implement arg handling from aiee
* Implement value argument handling from aiee

View File

@ -1,8 +1,8 @@
class NonceOracle:
def __init__(self, address):
def __init__(self, address, id_generator=None, confirmed=False):
self.address = address
self.nonce = self.get_nonce()
self.nonce = self.get_nonce(confirmed=confirmed)
def get_nonce(self):

View File

@ -3,7 +3,7 @@ name=chainlib
license=WTFPL2
author_email=dev@holbrook.no
description=Generic blockchain access library and tooling
version=0.3.0
version=0.3.1
url=https://gitlab.com/chaintools/chainlib
author=Louis Holbrook