chainlib

Generic blockchain access library and tooling
Log | Files | Refs | README | LICENSE

commit 393bbd2fc298a7b509b34ee486a328ab99b9d2f5
parent 8d962e1a27b51e039cbe917edcbc57e5a6849836
Author: lash <dev@holbrook.no>
Date:   Mon, 21 Feb 2022 23:43:57 +0000

WIP Add last arg to man maps and specs, arg flags settable through cli

Diffstat:
Mscripts/man.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/scripts/man.py b/scripts/man.py @@ -1,6 +1,8 @@ +import sys +from hexathon import strip_0x from chainlib.cli.man import DocGenerator - -g = DocGenerator(0xffffffff) +b = bytes.fromhex(strip_0x(sys.argv[1])) +g = DocGenerator(int.from_bytes(b, byteorder='little')) g.process() print(g)