Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest code #5

Open
gregsyoung opened this issue Feb 25, 2023 · 0 comments
Open

latest code #5

gregsyoung opened this issue Feb 25, 2023 · 0 comments

Comments

@gregsyoung
Copy link
Contributor

further to the latest pull request, ive made some small progress with non vol storeage ..
but havent as yet got a “idleCounter” working .

so didn’t want to confuse you with too many pull requests.

my programming skills are very rudimentary … hence im having to do a lot of reading and learning to progress…

my thinking is to have an idleCounter inside the lamda function that does the chainCounter increment/decrement,
and each time an increment/decrement happens, the idlecounter is reset to 60 (“seconds”)

then a separate function that counts the idlecounter down over a 60second period,
and when idlecounter =0 (aka after 60 sec period of no chain activity) it does the put of chaincounter into non vol.

im hoping your programming skills well beyong mine … and you can assist with above ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant