-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: ledger nearing its final design
- Loading branch information
Showing
4 changed files
with
82 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
package ledger | ||
|
||
import ( | ||
"github.com/iotaledger/hive.go/generics/walker" | ||
|
||
"github.com/iotaledger/goshimmer/packages/refactored/utxo" | ||
) | ||
|
||
type TransactionStoredEvent struct { | ||
Transaction utxo.Transaction | ||
TransactionMetadata *TransactionMetadata | ||
*DataFlowParams | ||
} | ||
|
||
type TransactionSolidEvent struct { | ||
Inputs []utxo.Output | ||
|
||
propagationWalker *walker.Walker[utxo.TransactionID] | ||
*DataFlowParams | ||
} | ||
|
||
*TransactionStoredEvent | ||
type TransactionProcessedEvent struct { | ||
*DataFlowParams | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters