dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 0bbdf4d61013ed946e60e7dd343fc522810b49bd
parent 449a38f4ca11b14b9714d8f113bff43836cf457c
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 18 Dec 2023 05:26:46 -0500

drop rake

Diffstat:
Mpkg/web/handlers/poker/poker.go | 2+-
Mpkg/web/public/views/pages/poker.gohtml | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -1177,7 +1177,7 @@ type PlayerGain struct { HandStr string } -const rakePct = 0.07 +const rakePct = 0.045 func processPot(winners []GameResult, mainPot, pokerTableMinBet database.PokerChip, collectRake bool) (res []PlayerGain, rake database.PokerChip) { newPlayerGain := func(player *PokerPlayer, gain database.PokerChip, groupIdx int, handStr string) PlayerGain { diff --git a/pkg/web/public/views/pages/poker.gohtml b/pkg/web/public/views/pages/poker.gohtml @@ -14,7 +14,7 @@ </div> 1 <small>XMR</small> == {{ .Data.XmrPrice }}<br /> 0.01 <small>XMR</small> == 1,000 <small>chips</small><br /> - rake is max 7% (rounded down)<br /> + rake is max 4.5% (rounded down)<br /> rake is capped at 15*big_blind<br /> 2 confirmations needed for deposits under 0.2 XMR (~4min)<br /> 10 confirmations needed for deposits over 0.2 XMR (~20min)<br />