Bitcoin full node and query server

May 24, 2018

View in context in the libbitcoin Slack #general mirror.

M
Mlmikael08:58
@neillm / @evoskuil a question, in libbitcoin-network repo, sessions directory, i see that * the "session_seed" class, is for the P2P peer connections that LB initiates to the seed nodes, which are specified in the config, right - * the "session_manual" is the P2P peers that the user has hardcoded in the LB config, right - and * the "session_outbound" is the normal P2P walking that LB full node does on its own initiative, - and * the "session_inbound" is connections arising from other Bitcoin nodes connecting to the LB node's inbound connections port, right. i guess "manual" and "outbound" and "seed", while all of them are outbound connections, the point with having different logics for them is that "manual" will retry forever and with highest prio, and then i guess there is some other logics difference between "outbound" and "seed", so i kind of appreciate the difference in function and motivation. so this far all is clear to me. now what is the "session_batch" about - what is its function and motivation?