-
Notifications
You must be signed in to change notification settings - Fork 20.9k
Compression algorithm #171
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
import "github.com/ethereum/go-ethereum/compression/rle"
in := make([]byte, 5)
in = append(in, crypto.Sha3([]byte(""))...)
in = append(in, crypto.Sha3([]byte{0x80})...)
in = append(in, token)
c := rle.Compress(in)
d = rle.Decompress(c)
bytes.Compare(in, d) == 0 |
Should be applied to the io p2p stream #172 |
Closed
tailingchen
added a commit
to tailingchen/go-ethereum
that referenced
this issue
Jul 3, 2018
core/state: save dirty storage in block level
maoueh
pushed a commit
to streamingfast/go-ethereum
that referenced
this issue
Aug 13, 2021
tony-ricciardi
pushed a commit
to tony-ricciardi/go-ethereum
that referenced
this issue
Jan 20, 2022
weiihann
pushed a commit
to weiihann/go-ethereum
that referenced
this issue
Feb 23, 2023
Delete genesis-keystore Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
atenjin
pushed a commit
to alt-research/go-ethereum
that referenced
this issue
Apr 4, 2024
* Enable Canyon via the superchain registry * Rename PostCanyon to Canyon
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Simple RLE with magic numbers sha3('') and sha3('\x80'):
let magic = '\xfe'
Alternatives: '\xff', '\x00ff'
Compression
The text was updated successfully, but these errors were encountered: