commitIDKey() returns the key for the commitID at a specific version
(version uint64)
| 411 | |
| 412 | // commitIDKey() returns the key for the commitID at a specific version |
| 413 | func (s *Store) commitIDKey(version uint64) []byte { |
| 414 | return append(stateCommitIDPrefix, lib.JoinLenPrefix(fmt.Appendf(nil, "%d", version))...) |
| 415 | } |
| 416 | |
| 417 | // getCommitID() retrieves the CommitID value for the specified version from the database |
| 418 | func (s *Store) getCommitID(version uint64) (id lib.CommitID, err lib.ErrorI) { |
no test coverage detected