mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-14 23:07:50 +00:00
15 lines
453 B
Go
15 lines
453 B
Go
|
/*
|
||
|
Package witness provides functions dealing with transaction's witnesses.
|
||
|
*/
|
||
|
package witness
|
||
|
|
||
|
// Witness is an opaque data structure that can only be created by
|
||
|
// transaction.GetWitnesses and representing transaction's witness.
|
||
|
type Witness struct{}
|
||
|
|
||
|
// GetVerificationScript returns verification script stored in the given
|
||
|
// witness. It uses `Neo.Witness.GetVerificationScript` syscall.
|
||
|
func GetVerificationScript(w Witness) []byte {
|
||
|
return nil
|
||
|
}
|