WithSkipBlockIndex skips inserting individual blocks into the block index (the "blocks" table). Blocklists are still stored.
()
| 38 | // WithSkipBlockIndex skips inserting individual blocks into the block |
| 39 | // index (the "blocks" table). Blocklists are still stored. |
| 40 | func WithSkipBlockIndex() UpdateOption { |
| 41 | return func(o *UpdateOptions) { |
| 42 | o.SkipBlockIndex = true |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | type DB interface { |
| 47 | // Create a service that performs database maintenance periodically (no |
no outgoing calls