()
| 65 | } |
| 66 | |
| 67 | func (state *pcState) String() string { |
| 68 | return fmt.Sprintf("height: %d queue length: %d draining: %v blocks synced: %d", |
| 69 | state.height(), len(state.queue), state.draining, state.blocksSynced) |
| 70 | } |
| 71 | |
| 72 | // newPcState returns a pcState initialized with the last verified block enqueued |
| 73 | func newPcState(context processorContext) *pcState { |