|
1 | 1 | #include "fd_repair.h" |
2 | 2 |
|
3 | | -uchar pong_expected [ sizeof(uint) + sizeof(fd_repair_pong_t) ] = { 0x7, 0x0, 0x0, 0x0, 0x69, 0x7b, 0x42, 0x55, 0xa4, 0x4, 0x1f, 0xe9, 0x9d, 0xc, 0x37, 0x9f, 0x76, 0xf, 0x69, 0x1a, 0xbe, 0x2f, 0xe2, 0x37, 0xad, 0xc3, 0x6c, 0xf8, 0x92, 0xca, 0xde, 0xdb, 0x15, 0xdb, 0xfe, 0x41, 0x99, 0x7e, 0x10, 0xaf, 0x65, 0x3b, 0x1e, 0x32, 0xaf, 0xf5, 0xa4, 0x3, 0x26, 0xa9, 0xd6, 0xdb, 0xfe, 0x80, 0x97, 0xa, 0x24, 0x92, 0x3f, 0xfb, 0x19, 0xf4, 0x44, 0x9, 0xe1, 0x5c, 0xd, 0xe1, 0xd6, 0xdf, 0x84, 0x4e, 0x1b, 0x18, 0xd5, 0x1d, 0xda, 0x9, 0x31, 0xde, 0x6b, 0xd6, 0x79, 0xc3, 0x4, 0x34, 0x7e, 0x52, 0x2a, 0x1, 0xd0, 0xad, 0x2d, 0xf8, 0xe9, 0xb1, 0xfb, 0x6a, 0x5d, 0x6d, 0xa, 0xa8, 0xc4, 0xb9, 0x60, 0xa6, 0xb3, 0x4f, 0xf8, 0xa6, 0x2c, 0xf4, 0xfc, 0xbe, 0x33, 0xbb, 0xca, 0x68, 0x5e, 0xa6, 0xe5, 0x78, 0x6f, 0xf3, 0xff, 0xf0, 0x74, 0x74, 0x94, 0x99, 0xa2, 0xe }; |
4 | | -uchar shred_expected [ sizeof(uint) + sizeof(fd_repair_shred_t) ] = { 0x8, 0x0, 0x0, 0x0, 0xa1, 0xda, 0xa9, 0x32, 0x46, 0x77, 0xae, 0x9b, 0x54, 0x14, 0x33, 0xde, 0x9e, 0x10, 0x7c, 0x4, 0xe4, 0x4f, 0x34, 0x7c, 0x48, 0x7b, 0x68, 0xad, 0xb7, 0xdb, 0x40, 0x87, 0x2a, 0x30, 0x52, 0x4e, 0x26, 0x51, 0x6c, 0x27, 0xa2, 0x6d, 0x29, 0x5, 0xe9, 0xea, 0x4f, 0xea, 0xaf, 0x16, 0xd, 0xfb, 0x28, 0xb0, 0x72, 0x62, 0x36, 0x77, 0x68, 0x47, 0x8c, 0x7e, 0x2b, 0xd2, 0x78, 0x8c, 0x92, 0x9, 0x69, 0x7b, 0x42, 0x55, 0xa4, 0x4, 0x1f, 0xe9, 0x9d, 0xc, 0x37, 0x9f, 0x76, 0xf, 0x69, 0x1a, 0xbe, 0x2f, 0xe2, 0x37, 0xad, 0xc3, 0x6c, 0xf8, 0x92, 0xca, 0xde, 0xdb, 0x15, 0xdb, 0xfe, 0x41, 0xa2, 0xae, 0x51, 0xa2, 0xba, 0xa4, 0xbe, 0x20, 0x24, 0x41, 0xf, 0xb3, 0xdb, 0xde, 0xa, 0x9b, 0xee, 0x12, 0x40, 0x2f, 0x12, 0x46, 0x78, 0x2b, 0xac, 0x2e, 0x87, 0x35, 0x3e, 0x53, 0xea, 0x4a, 0x9b, 0x19, 0x58, 0x65, 0x97, 0x1, 0x0, 0x0, 0x9c, 0x0, 0x0, 0x0, 0xb7, 0xd3, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }; |
5 | | -uchar highest_shred_expected[ sizeof(uint) + sizeof(fd_repair_highest_shred_t) ] = { 0x9, 0x0, 0x0, 0x0, 0xe3, 0xe7, 0x1c, 0xa5, 0xc6, 0xdd, 0xf9, 0x6d, 0x9f, 0xd, 0xb7, 0xe5, 0x98, 0xf2, 0xe5, 0xee, 0x4f, 0xaa, 0x1f, 0xa7, 0xa1, 0xe7, 0xb6, 0x7b, 0xb3, 0xe, 0xf9, 0xb8, 0xe9, 0xac, 0x1e, 0x3e, 0xd1, 0x81, 0x8c, 0x73, 0x83, 0x8f, 0xb5, 0x4b, 0x27, 0xe, 0x68, 0xdc, 0x7a, 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e5, 0xf1, 0xb3, 0x6b, 0xe, 0xa1, 0x1, 0x9a, 0x76, 0x14, 0x5d, 0xfc, 0x53, 0xf0, 0xa6, 0x42, 0x13, 0x46, 0x2c, 0xd1, 0xe7, 0x23, 0x4d, 0x15, 0x1a, 0x48, 0xf5, 0xf, 0x7d, 0x54, 0xd6, 0x76, 0x42, 0xb2, 0x99, 0x8e, 0x12, 0x69, 0x2c, 0x5b, 0xd6, 0x5e, 0xee, 0x30, 0x7c, 0xd6, 0xad, 0x71, 0x40, 0x46, 0xec, 0x6, 0xda, 0x3, 0xa3, 0xe6, 0x7, 0x69, 0x7b, 0x42, 0x55, 0xa4, 0x4, 0x1f, 0xe9, 0x9d, 0xc, 0x37, 0x9f, 0x76, 0xf, 0x69, 0x1a, 0xbe, 0x2f, 0xe2, 0x37, 0xad, 0xc3, 0x6c, 0xf8, 0x92, 0xca, 0xde, 0xdb, 0x15, 0xdb, 0xfe, 0x41, 0xa2, 0xae, 0x51, 0xa2, 0xba, 0xa4, 0xbe, 0x20, 0x24, 0x41, 0xf, 0xb3, 0xdb, 0xde, 0xa, 0x9b, 0xee, 0x12, 0x40, 0x2f, 0x12, 0x46, 0x78, 0x2b, 0xac, 0x2e, 0x87, 0x35, 0x3e, 0x53, 0xea, 0x4a, 0x20, 0x87, 0xf7, 0x64, 0x97, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9a, 0x96, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0 }; |
7 | 7 |
|
8 | 8 | /* Randomly generated by solana-keygen. */ |
9 | 9 |
|
|
0 commit comments