<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Libbitcoin_Common</id>
	<title>Libbitcoin Common - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Libbitcoin_Common"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Libbitcoin_Common&amp;action=history"/>
	<updated>2026-05-15T08:00:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=Libbitcoin_Common&amp;diff=5702&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;The common [https://github.com/libbitcoin/libbitcoin libbitcoin] library is a dependency of all others with the exception of libbitcoin-consensus. It...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Libbitcoin_Common&amp;diff=5702&amp;oldid=prev"/>
		<updated>2019-06-09T13:27:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The common [https://github.com/libbitcoin/libbitcoin libbitcoin] library is a dependency of all others with the exception of &lt;a href=&quot;/Libbitcoin_Consensus&quot; title=&quot;Libbitcoin Consensus&quot;&gt;libbitcoin-consensus&lt;/a&gt;. It...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The common [https://github.com/libbitcoin/libbitcoin libbitcoin] library is a dependency of all others with the exception of [[Libbitcoin_Consensus|libbitcoin-consensus]]. It was the first library created and originally contained the core functionality of all of the others.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
 #include &amp;amp;lt;cstdint&amp;amp;gt;&lt;br /&gt;
 #include &amp;amp;lt;iostream&amp;amp;gt;&lt;br /&gt;
 #include &amp;amp;lt;string&amp;amp;gt;&lt;br /&gt;
 #include &amp;amp;lt;bitcoin/bitcoin.hpp&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 // Extract Satoshi's words.&lt;br /&gt;
 int main()&lt;br /&gt;
 {&lt;br /&gt;
 const auto block = bc::chain::block::genesis_mainnet();&lt;br /&gt;
 const auto&amp;amp; tx = block.transactions().front();&lt;br /&gt;
 const auto&amp;amp; input = tx.inputs().front();&lt;br /&gt;
 const auto script = input.script().to_data(false);&lt;br /&gt;
 std::string message(script.begin() + sizeof(uint64_t), script.end());&lt;br /&gt;
 std::cout &amp;amp;lt;&amp;amp;lt; message &amp;amp;lt;&amp;amp;lt; std::endl;&lt;br /&gt;
 return 0;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 The Times 03/Jan/2009 Chancellor on brink of second bailout for banks&lt;br /&gt;
&lt;br /&gt;
==Bitcoin Related Features==&lt;br /&gt;
* Key formats (raw, [https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki BIP32], WIF, compressed/uncompressed, minikey)&lt;br /&gt;
* Encoding functions (base 2/10/16/58/64/85)&lt;br /&gt;
* Hash functions (ripemd160, sha1, sha256, sha512, hmac_sha256, hmac_sha512, pkcs5_pbkdf2_hmac_sha512)&lt;br /&gt;
* URL parsing ([https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki BIP21] and [https://github.com/bitcoin/bips/blob/master/bip-0072.mediawiki BIP72])&lt;br /&gt;
* Mnemonic functions ([https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki BIP39])&lt;br /&gt;
* All published [https://github.com/bitcoin/bips/blob/master/bip-0039/bip-0039-wordlists.md mnemonic dictionaries]&lt;br /&gt;
* Curve math, deterministic ECDSA, verification and encryption functions&lt;br /&gt;
* Address functions (P2PKH and P2SH/[https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki BIP16])&lt;br /&gt;
* Stealth addresses functions for wallets and blockchain search&lt;br /&gt;
* Wire and text serializable type library (P2P protocol)&lt;br /&gt;
* Bitcoin script engine (see [[Libbitcoin_Consensus|libbitcoin-consensus]] for more information)&lt;br /&gt;
* Asynchronous P2P networking stack built on [https://think-async.com ASIO] (moved to [[Libbitcoin_Network|libbitcoin-network]] in version 3)&lt;br /&gt;
&lt;br /&gt;
==General Purpose Features==&lt;br /&gt;
* Logging utilities&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Radix_tree Patricia Trie] template with binary alphabet&lt;br /&gt;
* [http://utf8everywhere.org UTF8 Everywhere] tools and integration for Windows&lt;br /&gt;
* Command line and configuration file utilities based on [http://www.boost.org/doc/libs/1_55_0/doc/html/program_options.html boost program options]&lt;br /&gt;
&lt;br /&gt;
==Build and Quality Control==&lt;br /&gt;
* Autotools builds for GCC/Clang&lt;br /&gt;
* All build artifacts generated by [[Libbitcoin_Build|libbitcoin-build]]&lt;br /&gt;
* Continuous integration builds via [https://travis-ci.org/libbitcoin/libbitcoin Travis-CI]&lt;br /&gt;
* Automated test coverage reporting via [https://travis-ci.org/libbitcoin/libbitcoin Coverall]&lt;br /&gt;
* Visual Studio 2013 project and solution files&lt;br /&gt;
* Support for 32/64 bit processors and [http://en.wikipedia.org/wiki/Endianness endianness] differences&lt;br /&gt;
* Uses C++11 advancements and restricts use of pointers and exceptions&lt;br /&gt;
&lt;br /&gt;
==Dependencies (Version2)==&lt;br /&gt;
* [http://www.boost.org boost]&lt;br /&gt;
* [https://github.com/bitcoin/secp256k1 libsecp256k1]&lt;br /&gt;
* [http://site.icu-project.org ICU] (optional)&lt;br /&gt;
&lt;br /&gt;
==Dependencies (Version3)==&lt;br /&gt;
* [http://www.boost.org boost]&lt;br /&gt;
* [https://github.com/bitcoin/secp256k1 libsecp256k1]&lt;br /&gt;
* [http://site.icu-project.org ICU] (optional)&lt;br /&gt;
* [http://www.libpng.org/pub/png/libpng.html libpng] (optional)&lt;br /&gt;
* [https://fukuchi.org/works/qrencode libqrencode] (optional)&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Libbitcoin]]&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
[http://bitcoin.it/ http://bitcoin.it/]&lt;br /&gt;
[[Category:Open source]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>