tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
OneContractWhereSomeBillsAreUsedTwice
tagion
testbench
services
double_spend
Undocumented in source.
@
safe
@
Scenario
("one contract where some bills are used twice.", [])
class
OneContractWhereSomeBillsAreUsedTwice {
Options
opts
;
StdSecureWallet
wallet1
;
StdSecureWallet
wallet2
;
SignedContract
signed_contract
;
this
(Options opts, StdSecureWallet wallet1, StdSecureWallet wallet2);
enum
reject_collector
; via
import
tagion
.
services
.
collector
:
reject_collector
;
;
Document
same
();
Document
network
();
Document
dart
();
}
Constructors
this
this
(Options opts, StdSecureWallet wallet1, StdSecureWallet wallet2)
Undocumented in source.
Members
Functions
dart
Document
dart
()
Undocumented in source. Be warned that the author may not have intended to support it.
network
Document
network
()
Undocumented in source. Be warned that the author may not have intended to support it.
same
Document
same
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
opts
Options
opts
;
Undocumented in source.
signed_contract
SignedContract
signed_contract
;
Undocumented in source.
wallet1
StdSecureWallet
wallet1
;
Undocumented in source.
wallet2
StdSecureWallet
wallet2
;
Undocumented in source.
Meta
Source
See Implementation
tagion
testbench
services
double_spend
aliases
FeatureContext
StdSecureWallet
classes
BillAge
DifferentContractsDifferentNodes
OneContractWhereSomeBillsAreUsedTwice
SameContractDifferentNodes
SameContractInDifferentEpochs
SameContractInDifferentEpochsDifferentNode
SameInputsSpendOnOneContract
TwoContractsSameOutput
manifest constants
CONTRACT_TIMEOUT
EPOCH_TIMEOUT
feature