diff --git a/CHANGELOG b/CHANGELOG index 23ee944..a142ea3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/chainlib/nonce.py b/chainlib/nonce.py index 4602a4b..8e4c0c6 100644 --- a/chainlib/nonce.py +++ b/chainlib/nonce.py @@ -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): diff --git a/setup.cfg b/setup.cfg index 683cbad..c40b803 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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