tweak policy
This commit is contained in:
parent
8f74a3f783
commit
1a48a4fb5a
@ -14,8 +14,10 @@ type ScriptPolicy struct {
|
|||||||
// Hash of the source code that leads to this policy.
|
// Hash of the source code that leads to this policy.
|
||||||
// If this is a replacement mapping, the original source may not be pointed to by any policy.
|
// If this is a replacement mapping, the original source may not be pointed to by any policy.
|
||||||
// The original source should still exist in the scripts table, which can be located by the same hash.
|
// The original source should still exist in the scripts table, which can be located by the same hash.
|
||||||
Hash uint64
|
FromScriptHash uint64
|
||||||
// The ID of the replacement source (ScriptPolicyReplace) or verbatim source (other)
|
// The ID of the replacement source (ScriptPolicyReplace)
|
||||||
ScriptID int64
|
// or verbatim source (ScriptPolicyAllowed)
|
||||||
|
// or 0 (other)
|
||||||
|
ToScriptID int64
|
||||||
Policy Policy
|
Policy Policy
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user