package
0.0.0-20240229002921-e9df1205b660
Repository: https://github.com/deroproject/derohe.git
Documentation: pkg.go.dev

# README

the wallet works on the basic idea, that balance can be obtained instantenously

suppose a wallet address sent and received funds in blocks 1000 and 2000 respectively. Even if the address is part of inumerable tx ( between 1001-1999) blocks, it's balance doesn't change and wallet can detect using maths that the balance has not changed using a binary search algorithm

# Packages

No description provided by the author
No description provided by the author

# Functions

this is as simple as it gets single threaded communication to get the daemon status and height this will tell whether the wallet can connection successfully to daemon or not.
this file implements the encrypted data store at rest.
create an encrypted wallet using electrum recovery words.
create an encrypted wallet using electrum recovery words.
this file implements the encrypted data store at rest.
create an encrypted wallet using using random data.
create an encrypted wallet using using random data.
extract 12 byte nonce from the data and deseal the data.
all data in encrypted within the storage using this, PERIOD all data has a new nonce, appended to the the data , last 12 bytes.
never do any division operation on money due to floating point issues newbies, see type the next in python interpretor "3.33-3.13".
format money with specific precision.
generate user account using recovery seeds.
No description provided by the author
generate key from password.
generate keys from using random numbers.
generate keys from seed which is from the recovery words or we feed in direct.
generate statement.
generate witness.
return daemon height.
return topoheight of daemon.
with some more smartness table can be condensed more to contain 16.3% more entries within the same size.
this is as simple as it gets single threaded communication to get the daemon status and height this will tell whether the wallet can connection successfully to daemon or not.
this function continously turns connectivity online/offline avoid connectivity calls when possible.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
this function will wait n goroutines to wait for new block.
this function will wait n goroutines to wait till height changes.

# Constants

table size cannot be more than 1<<24.

# Variables

No description provided by the author
this global variable should be within wallet structure.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
see this https://godoc.org/golang.org/x/crypto/pbkdf2.
this is stored in disk in encrypted form.
this is stored in disk in encrypted form.

# Type aliases

this is run some tests and benchmarks.
No description provided by the author
No description provided by the author