- Openclerk\Currencies\HashableCurrency
interface Openclerk\Currencies \ HashableCurrency
- All implemented interfaces:
- Currency
- All known implementing classes:
- Bitcoin, Digitalcoin, Dogecoin, Feathercoin, Hobonickels, Ixcoin, Litecoin, Megacoin, Namecoin, Netcoin, Novacoin, Peercoin, Terracoin, Vertcoin, Worldcoin
A "HashableCurrency" is a currency which can be generated by hashing some algorithm. In the future this can be extended to currencies which have multiple hashing algorithms.
This is the base interface; other interfaces will provide additional functionality as necessary. (from Currency)
- See:
Method Summary
Name | Description |
---|---|
getAlgorithm() | Get the main algorithm used by this currency for hashing, as a code from HashAlgorithm#getCode(). |
public function getAlgorithm()
Get the main algorithm used by this currency for hashing, as a code from HashAlgorithm#getCode().
HashableCurrencys which share the same hash algorithm can be considered similar and their hash rates can be manipulated together.