satellite/metainfo/metabase: remove old TODO notes
Change-Id: Id216eb8cc5014652cce77a0f8f17ac66715bd46f
This commit is contained in:
parent
8de1116eeb
commit
150d75da28
@ -26,8 +26,6 @@ var _ struct {
|
||||
BlockSize int32
|
||||
} = storj.EncryptionParameters{}
|
||||
|
||||
// TODO: do we want to use this encoding? do we want it to be extensible?
|
||||
|
||||
// Value implements sql/driver.Valuer interface.
|
||||
func (params encryptionParameters) Value() (driver.Value, error) {
|
||||
var bytes [8]byte
|
||||
@ -80,8 +78,6 @@ var _ struct {
|
||||
TotalShares int16
|
||||
} = storj.RedundancyScheme{}
|
||||
|
||||
// TODO: maybe should use protobuf here instead?
|
||||
|
||||
func (params redundancyScheme) Value() (driver.Value, error) {
|
||||
switch {
|
||||
case params.ShareSize < 0 || params.ShareSize >= 1<<24:
|
||||
@ -134,8 +130,6 @@ func (params redundancyScheme) Scan(value interface{}) error {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: should we use some other encoding?
|
||||
|
||||
// Value implements sql/driver.Valuer interface.
|
||||
func (pieces Pieces) Value() (driver.Value, error) {
|
||||
if len(pieces) == 0 {
|
||||
|
@ -57,7 +57,6 @@ func (db *DB) GetObjectExactVersion(ctx context.Context, opts GetObjectExactVers
|
||||
}
|
||||
|
||||
object := Object{}
|
||||
// TODO handle encryption column
|
||||
err = db.db.QueryRow(ctx, `
|
||||
SELECT
|
||||
stream_id,
|
||||
|
@ -51,7 +51,6 @@ type RawSegment struct {
|
||||
EncryptedSize int32 // size of the whole segment (not a piece)
|
||||
PlainSize int32
|
||||
PlainOffset int64
|
||||
// TODO: add fields for proofs/chains
|
||||
|
||||
Redundancy storj.RedundancyScheme
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user