viewchange test-遇到的问题(1)
一、
2017/11/07 19:50:58 Replica 0 found incorrect signature in view-change message: %!s(<nil>)vc.Signature, _ = signFn(accounts.Account{Address: signer}, sigHash(nil, vc).Bytes())2017/11/07 20:41:28 Replica 0 ignoring processNewView as it could not find view 1 in its newViewStore2017/11/07 20:41:28 Replica 1 received view change quorum, processing new view 2017/11/07 20:41:28 Replica 1 appending checkpoint from replica 0 with seqNo=0, h=0, and checkpoint digest XXX GENESIS 2017/11/07 20:41:28 Replica 1 appending checkpoint from replica 1 with seqNo=0, h=0, and checkpoint digest XXX GENESIS 2017/11/07 20:41:28 Replica 1 appending checkpoint from replica 2 with seqNo=0, h=0, and checkpoint digest XXX GENESIS 2017/11/07 20:41:28 Stopping timer panic: runtime error: index out of rangel := len(msgList) xset := make([]*types.XSet, l)2017/11/09 09:27:39 Replica 0 already has a view change message for view 1 from replica 0if _, ok := instance.viewChangeStore[vcidx{vc.View, vc.ReplicaId}]; ok { logger.Warningf("Replica %d already has a view change message for view %d from replica %d", instance.id, vc.View, vc.ReplicaId) ///////// ////--xiaobei 11.9 if !flag && instance.nullRequestTimeout > 0 { timeout := instance.nullRequestTimeout if instance.primary(instance.view) != instance.id { // we're waiting for the primary to deliver a null request - give it a bit more time timeout += instance.requestTimeout } instance.nullRequestTimer.Reset(timeout, nullRequestEvent{}) flag = true } ///////// return nil }2017/11/09 17:27:35 Replica 0 failed to verify new-view Xset: computed map[19:>��>�E�#�_Tg�)�bIvh��<V}!S 7:�}f/7� ��ʜ��䤿������V��0 18:�#l�7����Q?���d/��V?1Rp��5�� 4:��oz�<a�>L��d�v*����-/��)���f�� 11:&^ɶ��t)�w4�S����F�-e�mѩ 15:��D;�+��i���Ǥ�xF`Iٚ���z�%���� 16:U�c�V߲�Փ$&���F۽ �c��9۴�=� 6:ѻ��GB�($���ݶ����9/))���/6MV 2:/'�K�9ަ�GG�TH�E:�]������, 12:�i܀0���0C\E�����|�C��[6��W 5:_��E�^�uR� �q�q��r���.�� 14:]�pft=�������Θ��Tb+�8z;�q�S�� 17:��k<*�� �j��AH��#�+ 3:��A �Y�;Ls�.v����Qb�yAq�М 9:h������N�iƩCY�� �|�7k�촚�� 13:? �1���Ѳ����1/��mؿ;V��� 20:��'�<���Q!��R�?rwr�� m��n�Q�Wݓ 8:�C����m�������*5s�>#�(��cC 10:�Qt&�'����u��|��p��~8|���Pn 1:4]�$%©bRRGXU�B�A����A��W�a��], received [0xc42131f7e0 0xc42131f800 0xc42131f820 0xc42131f840 0xc42131f880 0xc42131f8a0 0xc42131f8e0 0xc42131f900 0xc42131f920 0xc42131f960 0xc42131f9a0 0xc42131f9c0 0xc42131f9e0 0xc42131fa20 0xc42131fa40 0xc42131fa60 0xc42131fa80 0xc42131faa0 0xc42131fac0 0xc42131fb00]panic:assignment to entry in nil mapinstance.blockStore = make(map[string]*types.Block) ////--xiaobei 11.9Replica 1 failed to verify new-view Xset: computed [0xc42179c300 0xc42179c320 0xc42179c340 0xc42179c360 0xc42179c380 0xc42179c3e0 0xc42179c420 0xc42179c440 0xc42179c460 0xc42179c4a0 0xc42179c4c0 0xc42179c500 0xc42179c520 0xc42179c560 0xc42179c580 0xc42179c5a0 0xc42179c5c0 0xc42179c5e0 0xc42179c600 0xc42179c620], received [0xc421785ee0 0xc421785f00 0xc421785f20 0xc421785f40 0xc421785f80 0xc421785fc0 0xc421792000 0xc421792020 0xc421792060 0xc4217920e0 0xc421792100 0xc421792120 0xc421792140 0xc421792180 0xc4217921a0 0xc4217921c0 0xc4217921e0 0xc421792200 0xc421792220 0xc421792260]
Last updated