Skip to content

Conversation

@Emyrk
Copy link
Contributor

@Emyrk Emyrk commented Oct 16, 2019

TODO: @carryforward get a rollup going

@Emyrk Emyrk requested a review from carryforward October 16, 2019 13:35
@VeenaGondkar
Copy link
Contributor

Tested this PR on FD-1216_ecblock_parse and the output is as follows:
Test:
func TestECBalanceIncrease(t *testing.T) {
ecblock, raw, err := factom.GetECBlock("c96a851d95db6d58cbcfdd63a8aaf93fc180fb8c003af5508667cc44fa31457d")
fmt.Print(ecblock, raw, err)
}

Output:
=== RUN TestECBalanceIncrease
HeaderHash: c96a851d95db6d58cbcfdd63a8aaf93fc180fb8c003af5508667cc44fa31457d
PrevHeaderHash: f87cfc073df0e82cdc2ed0bb992d7ea956fd32b435b099fc35f4b0696948507a
FullHash: 1eb3121d81cd8676f20c5fec2f4e0d7a892a2ab2f086506bf55735756098d9ba
PrevFullHash: 66fb49a15b68a2a0ce2382e6aa6970c835497c6074bec9794ccf84bb331ad135
BodyHash: bb3ff38bbb90032de6965587f46dcf37551ac26e15819303057c88999b2910b4
DBHeight: 1
Entries:
ServerIndexNumber: 0

MinuteNumber: 2

MinuteNumber: 3

MinuteNumber: 4

MinuteNumber: 5

MinuteNumber: 6

MinuteNumber: 7

MinuteNumber: 8

BalanceIncrease {
ECPubKey: 17ef7a21d1a616d65e6b73f3c6a7ad5c49340a6c2592872020ec60767ff00d7d
TXID: c3d09d10693eb867e2bd0a503746df370403c9451ae91a363046f2a68529c2fd
Index: c3d09d10693eb867e2bd0a503746df370403c9451ae91a363046f2a68529c2fd
NumEC: 300
}

MinuteNumber: 9

MinuteNumber: 10

[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12 187 63 243 139 187 144 3 45 230 150 85 135 244 109 207 55 85 26 194 110 21 129 147 3 5 124 136 153 155 41 16 180 248 124 252 7 61 240 232 44 220 46 208 187 153 45 126 169 86 253 50 180 53 176 153 252 53 244 176 105 105 72 80 122 102 251 73 161 91 104 162 160 206 35 130 230 170 105 112 200 53 73 124 96 116 190 201 121 76 207 132 187 51 26 209 53 0 0 0 1 0 0 0 0 0 0 0 0 11 0 0 0 0 0 0 0 88 0 0 1 2 1 3 1 4 1 5 1 6 1 7 1 8 4 23 239 122 33 209 166 22 214 94 107 115 243 198 167 173 92 73 52 10 108 37 146 135 32 32 236 96 118 127 240 13 125 195 208 157 16 105 62 184 103 226 189 10 80 55 70 223 55 4 3 201 69 26 233 26 54 48 70 242 166 133 41 194 253 0 130 44 1 9 1 10] --- PASS: TestECBalanceIncrease (0.02s)
PASS

Copy link
Contributor

@VeenaGondkar VeenaGondkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has already been reviewed by Steven and tested by Veena

@VeenaGondkar VeenaGondkar merged commit 58d69e6 into develop Oct 24, 2019
@PaulBernier PaulBernier deleted the FD-1216_ecblock_parse branch August 27, 2020 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants