pbftSimulator icon indicating copy to clipboard operation
pbftSimulator copied to clipboard

容错性问题

Open MccoolFrank opened this issue 6 years ago • 6 comments

您好,我下载了您的代码并运行,不过当我想要测试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]); } } 主函数里我进行了这样的修改,您看下是什么问题,还有您能否留下一个联系方式,方便沟通,谢谢。

MccoolFrank avatar Dec 19 '18 07:12 MccoolFrank

改完了,可以正常运行了

------------------ 原始邮件 ------------------ 发件人: "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 avatar Apr 20 '19 09:04 MccoolFrank

您好,我下载了您的代码并运行,不过当我想要测试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]); } } 主函数里我进行了这样的修改,您看下是什么问题,还有您能否留下一个联系方式,方便沟通,谢谢。

我也遇到了这个问题,请问楼主代码改正确了吗,求正确代码

jiaogug avatar Jul 17 '20 07:07 jiaogug

改完了,可以正常运行了 ------------------ 原始邮件 ------------------ 发件人: "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.

楼主,你好,你这个程序除了容错性的问题外,消息最大发送数不管设置多少,最后消息吞吐量结果都不变,我最近在研究这个算法,可以请教一下吗,非常感谢

jiaogug avatar Nov 21 '20 10:11 jiaogug

楼主,你好,请问可以发一份改后的代码吗?我最近也在研究这个算法,非常感谢。

564768722 avatar Jan 22 '21 02:01 564768722

改完了,可以正常运行了 ------------------ 原始邮件 ------------------ 发件人: "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.

楼主,你好,你这个程序除了容错性的问题外,消息最大发送数不管设置多少,最后消息吞吐量结果都不变,我最近在研究这个算法,可以请教一下吗,非常感谢

兄弟,你这提的这两个问题都解决了吗?

DDlovei avatar Jul 13 '21 07:07 DDlovei

@MccoolFrank 请问一下你是怎么解决的这个问题

H-L320 avatar May 29 '23 07:05 H-L320