Skip to content

Conversation

@visvirial
Copy link

I have added some fix for altcoin support and added constants for Monacoin support.
Also, I removed execution-rights for some PHP files (which seems to be unintentionally granted).

This change is originally written for building the EC-service CoinGift.


// Convert the public key to the address.
return BitcoinLib::public_key_to_address($public, $import['version']);
return BitcoinLib::public_key_to_address($public, $address_version!==null?$address_version:$import['version']);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add spaces $address_version !== null ? $address_version : $import['version']

@afk11
Copy link
Member

afk11 commented Apr 26, 2016

Phpcbf would fix these nits: vendor/bin/phpcbf -n --standard=PSR1,PSR2 src

Regarding the BIP32 bytes, since this library is maintenance only, completeness is more vital.

Have you seen the other lib? github.com/bit-wasp/bitcoin-php. You can implement a NetworkInterface easily enough!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants