Inside Bitcoin
Opening the selected file…
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
251* other connections to the SAM service to accept incoming I2P252* connections and make outgoing ones.253* If not connected then this unique_ptr will be empty.254* See https://i2p.net/en/docs/api/samv3255*/256std::unique_ptr<Sock> m_control_sock GUARDED_BY(m_mutex);258/**259* Our .b32.i2p address.260* Derived from `m_private_key`.261*/262CService m_my_addr GUARDED_BY(m_mutex);264/**265* SAM session id.266*/267std::string m_session_id GUARDED_BY(m_mutex);269/**270* Whether this is a transient session (the I2P private key will not be271* read or written to disk).272*/273const bool m_transient;274};276} // namespace sam277} // namespace i2p279#endif // BITCOIN_I2P_H
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.