Skip to content

added new function send_fixed_bal#12

Merged
stjet merged 4 commits intostjet:masterfrom
cmasta9:master
Aug 7, 2025
Merged

added new function send_fixed_bal#12
stjet merged 4 commits intostjet:masterfrom
cmasta9:master

Conversation

@cmasta9
Copy link
Copy Markdown
Contributor

@cmasta9 cmasta9 commented Aug 7, 2025

In an attempt to thwart possible double-sends, we may define an ending balance for the new block instead of calculating it on the fly. This MAY introduce the possibility of less-than-requested sends, but in theory, it can protect against malicious actors calling the send function successively.

@stjet
Copy link
Copy Markdown
Owner

stjet commented Aug 7, 2025

I like the idea and don't see anything obviously wrong with the code.

Will test in a bit when I have time and probably merge. Thanks!

@stjet
Copy link
Copy Markdown
Owner

stjet commented Aug 7, 2025

Works

@stjet stjet merged commit ed0cdd8 into stjet:master Aug 7, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants