Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
net-common
net-common
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • net-commonnet-common
  • Issues
  • #1

Closed
Open
Opened Jun 09, 2022 by Yuxuan Zhang@KingOfDark1 of 18 tasks completed1/18 tasks

官方文档上的“大消息体拆包最多256个小包并行传输”的描述似乎并不准确

【问题分类】

  • bug
  • P2P网络相关(包含libp2p,liquid)
  • 链账户身份与权限相关(证书问题、public、多签投票问题)
  • 核心交易引擎相关(交易池、DAG)
  • 共识相关
  • 智能合约相关
  • 存储相关
  • SDK相关
  • 长安链CMC工具
  • 长安链管理台
  • 长安链浏览器
  • 长安链合约IDE
  • 长安链web签名插件
  • 跨链相关
  • 轻节点相关
  • 隐私计算相关
  • 密码学相关
  • 其他补充:

【问题描述】(请对问题进行描述,方便定位问题)

官方文档上的说明对拆包并行传输的说明:https://docs.chainmaker.org.cn/operation/P2P%E7%BD%91%E7%BB%9C%E7%AE%A1%E7%90%86.html#id5 image 这里写的是最多256个包并行传输,但是通过看源码发现,好像最多就255个。 代码位置:https://git.chainmaker.org.cn/chainmaker/net-common/-/blob/master/common/pkt/bytes_disassembler.go#L97 image image

Edited Jun 09, 2022 by Yuxuan Zhang
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/net-common#1

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。