()
| 648 | } |
| 649 | |
| 650 | func (s *Script) IsPushOnly() bool { |
| 651 | if s.badOpCode { |
| 652 | return false |
| 653 | } |
| 654 | for _, ops := range s.ParsedOpCodes { |
| 655 | if ops.OpValue > opcodes.OP_16 { |
| 656 | return false |
| 657 | } |
| 658 | } |
| 659 | return true |
| 660 | |
| 661 | } |
| 662 | |
| 663 | func (s *Script) GetSigOpCount(flags uint32, accurate bool) int { |
| 664 | n := 0 |
no outgoing calls