sighash

package
v0.0.0-...-a12a26a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToRustSnakeCase

func ToRustSnakeCase(s string) string

ToRustSnakeCase converts the given string to a snake_case string. Ported from https://github.com/withoutboats/heck/blob/c501fc95db91ce20eaef248a511caec7142208b4/src/lib.rs#L75

func ToSnakeForSighash

func ToSnakeForSighash(s string) string

Types

type WordMode

type WordMode int
const (
	/// There have been no lowercase or uppercase characters in the current
	/// word.
	Boundary WordMode = iota
	/// The previous cased character in the current word is lowercase.
	Lowercase
	/// The previous cased character in the current word is uppercase.
	Uppercase
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL