:: Re: [Libbitcoin] Replacing remainin…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Eric Voskuil
Datum:  
To: Amir Taaki, libbitcoin
Betreff: Re: [Libbitcoin] Replacing remaining OpenSSL-dependant big_number use in libbitcoin
Why not use GMP (which we already have as a dependency via secp256k1)?

e

On 05/13/2014 02:19 AM, Amir Taaki wrote:
> We want to replace the remaining usage of big_number which is used in a
> few places for calculating work (comparisons, basic arithmetic).
>
> I'm thinking to copy uint256.h over from bitcoind:
>
> https://github.com/bitcoin/bitcoin/blob/master/src/uint256.h
>
> to include/bitcoin/utility/external/
>
> and then make a custom wrapper in include/bitcoin/utility/
> which implements a subset of that class which we require.
>
> Probably called 'hash_number' which is a descriptive name of this class.
> Another possibility is pow_number (pow = proof of work, not prisoner...)
> Or even proof_of_work_number?
>
> #include <bitcoin/utility/hash_number.hpp>
>
> Then after it's a few small steps to remove elliptic_curve_key,
>
>
>
>
> _______________________________________________
> Libbitcoin mailing list
> Libbitcoin@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin
>