├── .gitignore ├── README.md ├── bin └── local.php ├── composer.json ├── composer.lock ├── phpunit.xml ├── src ├── Blockchain │ ├── Block.php │ ├── BlockHeader.php │ ├── BlockHeaderInterface.php │ └── Chain.php ├── Consensus │ └── TransactionVerifier.php ├── Crypto │ ├── PrivateKey.php │ ├── PublicKey.php │ └── Signature.php ├── Local.php ├── Script │ ├── CoinbaseScript.php │ ├── PayToPubkeyHashScript.php │ └── PayToPubkeyHashScriptSender.php └── Transaction │ ├── Coinbase.php │ ├── Transaction.php │ ├── Txin.php │ ├── Txout.php │ └── Validator.php └── tests ├── Blockchain ├── BlockTest.php └── ChainTest.php ├── Consensus └── TransactionVerifierTest.php ├── Crypto ├── PrivateKeyTest.php └── PublicKeyTest.php └── Transaction ├── CoinbaseTest.php └── TransactionTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/README.md -------------------------------------------------------------------------------- /bin/local.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/bin/local.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/composer.lock -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Blockchain/Block.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Blockchain/Block.php -------------------------------------------------------------------------------- /src/Blockchain/BlockHeader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Blockchain/BlockHeader.php -------------------------------------------------------------------------------- /src/Blockchain/BlockHeaderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Blockchain/BlockHeaderInterface.php -------------------------------------------------------------------------------- /src/Blockchain/Chain.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Blockchain/Chain.php -------------------------------------------------------------------------------- /src/Consensus/TransactionVerifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Consensus/TransactionVerifier.php -------------------------------------------------------------------------------- /src/Crypto/PrivateKey.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Crypto/PrivateKey.php -------------------------------------------------------------------------------- /src/Crypto/PublicKey.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Crypto/PublicKey.php -------------------------------------------------------------------------------- /src/Crypto/Signature.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Crypto/Signature.php -------------------------------------------------------------------------------- /src/Local.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Local.php -------------------------------------------------------------------------------- /src/Script/CoinbaseScript.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Script/CoinbaseScript.php -------------------------------------------------------------------------------- /src/Script/PayToPubkeyHashScript.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Script/PayToPubkeyHashScript.php -------------------------------------------------------------------------------- /src/Script/PayToPubkeyHashScriptSender.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Script/PayToPubkeyHashScriptSender.php -------------------------------------------------------------------------------- /src/Transaction/Coinbase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Transaction/Coinbase.php -------------------------------------------------------------------------------- /src/Transaction/Transaction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Transaction/Transaction.php -------------------------------------------------------------------------------- /src/Transaction/Txin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Transaction/Txin.php -------------------------------------------------------------------------------- /src/Transaction/Txout.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Transaction/Txout.php -------------------------------------------------------------------------------- /src/Transaction/Validator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/src/Transaction/Validator.php -------------------------------------------------------------------------------- /tests/Blockchain/BlockTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/tests/Blockchain/BlockTest.php -------------------------------------------------------------------------------- /tests/Blockchain/ChainTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/tests/Blockchain/ChainTest.php -------------------------------------------------------------------------------- /tests/Consensus/TransactionVerifierTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/tests/Consensus/TransactionVerifierTest.php -------------------------------------------------------------------------------- /tests/Crypto/PrivateKeyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/tests/Crypto/PrivateKeyTest.php -------------------------------------------------------------------------------- /tests/Crypto/PublicKeyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/tests/Crypto/PublicKeyTest.php -------------------------------------------------------------------------------- /tests/Transaction/CoinbaseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/tests/Transaction/CoinbaseTest.php -------------------------------------------------------------------------------- /tests/Transaction/TransactionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielrcouto/phplata/HEAD/tests/Transaction/TransactionTest.php --------------------------------------------------------------------------------