预测比特币节点连接的收益性,提前优化网络连接。
DyPBP: Dynamic Peer Beneficialness Prediction for Cryptocurrency P2P Networking

- 基于连接行为动态预测节点收益性,不依赖区块到达后观察。
- 模型误差降低2至13个数量级,显著优于传统方法。
- 适合区块链运维者、矿池开发者提升P2P网络效率。
去中心化点对点(P2P)网络负责区块和交易的传播,是区块链系统运行的关键。较差的P2P连通性会降低挖矿共识协议的收益。以往研究通过观察区块与交易的传播情况来评估节点连接的有益性,但因区块到达稀疏、节点连接不稳定,连接尚未充分建立时,有益性评分难以收敛。本文提出动态节点有益性预测(DyPBP),利用区块与交易送达前的网络行为特征进行预测。为应对比特币节点频繁断连重连的问题,DyPBP引入“记忆”特征。我们在主网活跃节点上实现该模型,并采用机器学习完成预测。实验表明,不同模型下误差性能提升2至13个数量级;同时,“记忆”特征有效指导了模型选择。DyPBP可在连接开始阶段即估计其有益性,无需等待新区块到来。
原文摘要 · Abstract (English)
Distributed peer-to-peer (P2P) networking delivers the new blocks and transactions and is critical for the cryptocurrency blockchain system operations. Having poor P2P connectivity reduces the financial rewards from the mining consensus protocol. Previous research defines beneficalness of each Bitcoin peer connection and estimates the beneficialness based on the observations of the blocks and transactions delivery, which are after they are delivered. However, due to the infrequent block arrivals and the sporadic and unstable peer connections, the peers do not stay connected long enough to have the beneficialness score to converge to its expected beneficialness. We design and build Dynamic Peer Beneficialness Prediction (DyPBP) which predicts a peer's beneficialness by using networking behavior observations beyond just the block and transaction arrivals. DyPBP advances the previous research by estimating the beneficialness of a peer connection before it delivers new blocks and transactions. To achieve such goal, DyPBP introduces a new feature for remembrance to address the dynamic connectivity issue, as Bitcoin's peers using distributed networking often disconnect and re-connect. We implement DyPBP on an active Bitcoin node connected to the Mainnet and use machine learning for the beneficialness prediction. Our experimental results validate and evaluate the effectiveness of DyPBP; for example, the error performance improves by 2 to 13 orders of magnitude depending on the machine-learning model selection. DyPBP's use of the remembrance feature also informs our model selection. DyPBP enables the P2P connection's beneficialness estimation from the connection start before a new block arrives.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。