Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions docs/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1510,10 +1510,6 @@ paths:
description: The UUID of the node that generated the batch
format: uuid
type: string
payloadRef:
description: For broadcast batches, this is the reference to
the binary batch in shared storage
type: string
tx:
description: The FireFly transaction associated with this batch
properties:
Expand Down Expand Up @@ -1598,10 +1594,6 @@ paths:
description: The UUID of the node that generated the batch
format: uuid
type: string
payloadRef:
description: For broadcast batches, this is the reference to the
binary batch in shared storage
type: string
tx:
description: The FireFly transaction associated with this batch
properties:
Expand Down Expand Up @@ -10512,10 +10504,6 @@ paths:
description: The UUID of the node that generated the batch
format: uuid
type: string
payloadRef:
description: For broadcast batches, this is the reference to
the binary batch in shared storage
type: string
tx:
description: The FireFly transaction associated with this batch
properties:
Expand Down Expand Up @@ -10607,10 +10595,6 @@ paths:
description: The UUID of the node that generated the batch
format: uuid
type: string
payloadRef:
description: For broadcast batches, this is the reference to the
binary batch in shared storage
type: string
tx:
description: The FireFly transaction associated with this batch
properties:
Expand Down
9 changes: 4 additions & 5 deletions pkg/core/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,10 @@ type Batch struct {
// BatchPersisted is the structure written to the database
type BatchPersisted struct {
BatchHeader
Hash *fftypes.Bytes32 `ffstruct:"Batch" json:"hash"`
Manifest *fftypes.JSONAny `ffstruct:"Batch" json:"manifest"`
TX TransactionRef `ffstruct:"Batch" json:"tx"`
PayloadRef string `ffstruct:"Batch" json:"payloadRef,omitempty"`
Confirmed *fftypes.FFTime `ffstruct:"Batch" json:"confirmed"`
Hash *fftypes.Bytes32 `ffstruct:"Batch" json:"hash"`
Manifest *fftypes.JSONAny `ffstruct:"Batch" json:"manifest"`
TX TransactionRef `ffstruct:"Batch" json:"tx"`
Confirmed *fftypes.FFTime `ffstruct:"Batch" json:"confirmed"`
}

// BatchPayload contains the full JSON of the messages and data, but
Expand Down