2fdb6e81d3e5411b467aec644cd6cb3e4908846a
lookbackSlots keeps its progress (lookbackNext/lookbackEnd) across ticks, but returns early through syncBreak once no order needs scanning. When an order is paid, canceled or expires before its range is fully queued, the remainder stays in memory. The next Solana order, possibly days later, resumes that old range first. In production the remainder was 627 slots from a week earlier. The RPC node had already pruned them (-32001), every slot was retried, forward scanning paused while retries were pending, and the node started to answer 429. A payment made 90 seconds after the order was created was seen four minutes late. Before resuming, check that at least one order of the range still needs a lookback (same condition as hasLookbackOrders); otherwise drop the remaining range. The check runs before syncBreak so the state is also cleared while scanning is idle.
❗️作者声明:本项目为研究学习区块链的开源项目,不提供任何形式的收费服务 (谨防诈骗)
,不鼓励任何衍生金融属性的交易行为,不负责任何使用本项目进行的三方行为;使用过程中遇见问题请提issue
或群里交流,开源项目请自重!
BEpusdt (Better Easy Payment USDT)
🪧 介绍
缘起于Epusdt,但不仅限于此,加入了一些新特性,致力于成为一款更好用的个人加密货币收款网关。
原始 EPusdt 项目已被转手,现与本项目再没任何联系、两个项目完全独立运营,具体说明。
🎉 新特性
🌟 目前支持收款网络
🔥 主流网络:TRON Ethereum BSC Polygon
⚡ 其他网络: X-Layer Solana Aptos Arbitrum-One Base 完整列表
- ✅ 完全兼容
Epusdt插件无缝替换 - ️✅ 支持主流区块网络 不仅限于
USDT - ✅ 支持主流法定货币 汇率自动更新
- ✅ 轻依赖 单体二进制文件 部署便捷
- ✅ 底层区块扫描 安全确认 速度稳定
- ✅ 原生兼容
易支付收单 接入便捷 - ✅ 地址独占模式 底层支持不定额收款
- ✅ 支持MQTT消息发布 交易信息即时广播
- ✅ 快速迭代期 超多实用特性功能等你发现
🚀 快捷启动
Docker 快速启动,执行完命令打开地址http://服务器IP:8080即可看到初始页面
docker run -d --restart=unless-stopped -p 8080:8080 v03413/bepusdt:latest
📃 技术文档
🖼 功能截图
| 前台收银 | 后台订单 | 订单通知 |
|---|---|---|
![]() |
![]() |
![]() |
❓ 常见问题
🏝️ 社区交流
- Telegram 群组:https://t.me/BEpusdtChat
- Telegram 频道:https://t.me/BEpusdtChannel
🙏 致谢
感谢原项目提供的灵感和参考:
感谢为本项目作出贡献的开发者:
🌟 Star 历史
Languages
Go
33.2%
Vue
26.1%
TypeScript
13.5%
JavaScript
11.9%
HTML
10%
Other
5.3%


