You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This implements the remainder of the Shelley era "Utxo" validation
rules, as well as tests for each. It also includes the following
changes to support the validation rules:
* expose address network ID, type, and Byron attributes
* add helpers for ShelleyTransactionInputSet to make use in tests easier
* change UtxoState interface to lookup a single UTxO at a time
* add NetworkId() to LedgerState interface
* add String() to TransactionInput interface
Fixes#875
Signed-off-by: Aurora Gaffney <[email protected]>
// PaymentAddress returns a new Address with only the payment address portion. This will return nil for anything other than payment and script addresses
280
300
func (aAddress) PaymentAddress() *Address {
281
301
varaddrTypeuint8
@@ -337,6 +357,10 @@ func (a *Address) StakeKeyHash() Blake2b224 {
0 commit comments