Skip to content

Track host virtual BON during giveaways - #22

Merged
maghuro merged 8 commits into
mainfrom
feature/bonanza-virtual-host-bon
Sep 26, 2026
Merged

maghuro merged 8 commits into
mainfrom
feature/bonanza-virtual-host-bon

Conversation

@maghuro

@maghuro maghuro commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • show My Virtual BON at the top of the Host Panel
  • freeze the host's own available BON from the verified wallet balance at giveaway start
  • keep sponsor gifts neutral to that virtual balance
  • reduce virtual BON immediately for both !addbon and Host Panel Add BON
  • reject top-ups above the virtual balance locally before another DarkPeers balance request
  • persist the start-wallet baseline across giveaway reload recovery
  • bump BONanza to v1.5.11

Example

If the host has 400 BON and starts a 300 BON giveaway, My Virtual BON = 100.
A 500 BON sponsor gift leaves My Virtual BON = 100.
Adding 40 BON changes it to 60.

Safety

The existing authoritative server-side wallet verification remains in place before a top-up is committed. Virtual BON is an additional host-accounting limit, not a replacement for the live safety check.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

maghuro commented Sep 26, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@maghuro
maghuro merged commit 408835a into main Sep 26, 2026
1 check passed
@maghuro
maghuro deleted the feature/bonanza-virtual-host-bon branch September 26, 2026 14:13
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.

1 participant