pbftSimulator
pbftSimulator copied to clipboard
容错性问题
您好,我下载了您的代码并运行,不过当我想要测试pbft算法的容错性时,我设置节点数量是5,拜占庭节点数量是3,正常是应该不能达成共识的,但您的程序还是完成了共识,
boolean[] byzts = byztDistriInit(RN, FN); // boolean[] byzts = {true, true, true, false, false, false, true}; Replica[] reps = new Replica[RN]; for(int i = 0; i < RN; i++) { if(byzts[i]) { reps[i] = new ByztReplica(i, netDlys[i], netDlysToClis[i]); }else { reps[i] = new Replica(i, netDlys[i], netDlysToClis[i]); } }
主函数里我进行了这样的修改,您看下是什么问题,还有您能否留下一个联系方式,方便沟通,谢谢。
改完了,可以正常运行了
------------------ 原始邮件 ------------------ 发件人: "Muscularprogrammers"[email protected]; 发送时间: 2019年4月20日(星期六) 下午5:17 收件人: "rev-chaos/pbftSimulator"[email protected]; 抄送: "王子岳"[email protected]; "Author"[email protected]; 主题: Re: [rev-chaos/pbftSimulator] 容错性问题 (#1)
哥们你把这个程序改对了吗?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
您好,我下载了您的代码并运行,不过当我想要测试pbft算法的容错性时,我设置节点数量是5,拜占庭节点数量是3,正常是应该不能达成共识的,但您的程序还是完成了共识,
boolean[] byzts = byztDistriInit(RN, FN); // boolean[] byzts = {true, true, true, false, false, false, true}; Replica[] reps = new Replica[RN]; for(int i = 0; i < RN; i++) { if(byzts[i]) { reps[i] = new ByztReplica(i, netDlys[i], netDlysToClis[i]); }else { reps[i] = new Replica(i, netDlys[i], netDlysToClis[i]); } }
主函数里我进行了这样的修改,您看下是什么问题,还有您能否留下一个联系方式,方便沟通,谢谢。
我也遇到了这个问题,请问楼主代码改正确了吗,求正确代码
改完了,可以正常运行了 … ------------------ 原始邮件 ------------------ 发件人: "Muscularprogrammers"[email protected]; 发送时间: 2019年4月20日(星期六) 下午5:17 收件人: "rev-chaos/pbftSimulator"[email protected]; 抄送: "王子岳"[email protected]; "Author"[email protected]; 主题: Re: [rev-chaos/pbftSimulator] 容错性问题 (#1) 哥们你把这个程序改对了吗? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
改完了,可以正常运行了 … ------------------ 原始邮件 ------------------ 发件人: "Muscularprogrammers"[email protected]; 发送时间: 2019年4月20日(星期六) 下午5:17 收件人: "rev-chaos/pbftSimulator"[email protected]; 抄送: "王子岳"[email protected]; "Author"[email protected]; 主题: Re: [rev-chaos/pbftSimulator] 容错性问题 (#1) 哥们你把这个程序改对了吗? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
楼主,你好,你这个程序除了容错性的问题外,消息最大发送数不管设置多少,最后消息吞吐量结果都不变,我最近在研究这个算法,可以请教一下吗,非常感谢
楼主,你好,请问可以发一份改后的代码吗?我最近也在研究这个算法,非常感谢。
改完了,可以正常运行了 … ------------------ 原始邮件 ------------------ 发件人: "Muscularprogrammers"[email protected]; 发送时间: 2019年4月20日(星期六) 下午5:17 收件人: "rev-chaos/pbftSimulator"[email protected]; 抄送: "王子岳"[email protected]; "Author"[email protected]; 主题: Re: [rev-chaos/pbftSimulator] 容错性问题 (#1) 哥们你把这个程序改对了吗? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
改完了,可以正常运行了 … ------------------ 原始邮件 ------------------ 发件人: "Muscularprogrammers"[email protected]; 发送时间: 2019年4月20日(星期六) 下午5:17 收件人: "rev-chaos/pbftSimulator"[email protected]; 抄送: "王子岳"[email protected]; "Author"[email protected]; 主题: Re: [rev-chaos/pbftSimulator] 容错性问题 (#1) 哥们你把这个程序改对了吗? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
楼主,你好,你这个程序除了容错性的问题外,消息最大发送数不管设置多少,最后消息吞吐量结果都不变,我最近在研究这个算法,可以请教一下吗,非常感谢
兄弟,你这提的这两个问题都解决了吗?
@MccoolFrank 请问一下你是怎么解决的这个问题