8000 Drop ripemd, hash256 · Issue #4 · ajtowns/bllsh · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Drop ripemd, hash256 #4
Open
Open
@ajtowns

Description

@ajtowns

bllsh/opcodes.py

Lines 1009 to 1011 in 5c981a5

(0x23, "ripemd160", op_ripemd160),
(0x24, "hash160", op_hash160),
(0x25, "hash256", op_hash256),

No real reason to keep ripemd support (it's slow). Also, if you really want a 160bit hash, then (substr (sha256 "foo") 12) would work.

Likewise not much point having hash256; (sha256 (sha256 "foo")) seems fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0