PR edits through Ch 5

This commit is contained in:
Nick Adams
2017-05-09 16:16:06 -04:00
parent 5b2fb70bac
commit c05329d9cf
7 changed files with 172 additions and 170 deletions

View File

@@ -32,7 +32,7 @@ int main()
bc::extend_data(unencoded_address, hash);
// Checksum is computed by hashing data, and adding 4 bytes from hash.
bc::append_checksum(unencoded_address);
// Finally we must encode the result in Bitcoin's base58 encoding
// Finally we must encode the result in Bitcoin's base58 encoding.
assert(unencoded_address.size() == 25);
const std::string address = bc::encode_base58(unencoded_address);