Registry / crypto / bitwasp-bitcoinconsensus

bitwasp-bitcoinconsensus

JSON →
library3.0.1phppackagistunverified

Composer package containing stubs for bitcoinconsensus. Make sure your version is correct!

composer require bitwasp/bitcoinconsensus
INSTALL
IMPORT
SIG · BITWASP-BITCOINCON
B
bitwasp-bitcoinconsensus
cryptophpv3.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BitcoinConsensus
use BitWasp\BitcoinConsensus\BitcoinConsensus;

Verify a Bitcoin script using the consensus library.

use BitWasp\BitcoinConsensus\BitcoinConsensus; $consensus = new BitcoinConsensus(); $result = $consensus->verifyScript($scriptPubKey, $tx, $nInput);
Debug
Known issues
breakingRequires the bitcoinconsensus native library installed.
fix
Install libbitcoinconsensus via system package manager or compile from source.
affects: >=3.0.0
Upgrade
Version history
3.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Resources
bitwasp-bitcoinconsensus — pip install bitwasp-bitcoinconsensus · libregistry