Documentation ¶
Index ¶
Constants ¶
View Source
const ( MAX_CALL_EX_TREE_SIZE = 1000000 MAX_CALLED_FUNCTIONS = 255 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TreeNode ¶
type TreeNode struct {
// contains filtered or unexported fields
}
TreeNode is a node in the execution tree. It represents a function execution at a specific contract in a specific chain.
func NewTreeNode ¶
NewTreeNode creates a new tree node with empty children.
func (*TreeNode) AddChild ¶
AddChild adds a child to this node. Error occurs if the child has same chain id as this node. TODO:
Do we need to check if the whole tree does not have two executions having access to the same lockable contract? We can have Lock & RLock in the lockable storage and so only multiple reads if permitted.
func (*TreeNode) ContractAddr ¶
ContractAddr gets the contract addr of the tree node.
Click to show internal directories.
Click to hide internal directories.