README ¶ LAKE POOL 这是一个基于golang的开源矿池, 包含后端,前端,中台 三个部分 整体架构图 后端 设计初衷 设计一个多币种的挖矿架构 stratum协议本身是一个消息同步协议,其架构应该尽量同步化 矿池支持多个币种本质都是基于stratum协议,其架构因保持一定的复用性,如日志模块,share验证模块, 同时也应该保持一定的独立性,做好资源隔离,例如stratum_server 消灭大量无效share_log日志, 减轻后端数据存储压力 后端只负责提供数据,而不直接负责业务的结算,数据的业务结算由中台处理 采用开发效率的go语言实现 后端架构图 组件 stratum server stats server log server sphere server 中台 前端 Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis backend log_server/cmd/server log_server/examples/proto log_server/internal/app log_server/internal/pkg/conf sphere_server/cmd/server sphere_server/examples sphere_server/examples/proto sphere_server/internal/app sphere_server/internal/pkg/conf sphere_server/internal/pkg/service sphere_server/internal/pkg/service/cache sphere_server/internal/pkg/service/coin/btc stats_server/cmd/pusher stats_server/cmd/server stats_server/examples/proto stats_server/internal/app stats_server/internal/pkg/conf stats_server/internal/pkg/worker stratum_server/cmd/server stratum_server/internal/app/impl stratum_server/internal/app/server stratum_server/internal/pkg/cellnet/codec stratum_server/internal/pkg/cellnet/peer/tcp stratum_server/internal/pkg/cellnet/proc/tcp stratum_server/internal/pkg/cellnet/proto stratum_server/internal/pkg/cellnet/util stratum_server/internal/pkg/conf stratum_server/internal/pkg/context stratum_server/internal/pkg/service stratum_server/internal/pkg/service/log stratum_server/internal/pkg/service/sphere stratum_server/internal/pkg/service/stats stratum_server/internal/pkg/service/user stratum_server/internal/pkg/util Click to show internal directories. Click to hide internal directories.