<p>I'm writing a tx relay-only node that can accept inbound connections and make outbound ones. Just for research.</p>
<p>What I'm seeing that on inbound nodes the initial handshake completes and the connection just hangs, I should receive invs shouldn't I?</p>
<p>For outbound it works great, I receive invs and redistribute to others.</p>
<p>Tx relay flag is set in version msg for both direction. Services field is 0. What else do I need?</p>

CC BY-SA 4.0
2023-08-03T01:27:39.773Z
Are you sure that you aren't being disconnected? If you don't have any service bits set, nodes will probably end up disconnecting from you since they are expecting their outbounds to have at least the service bits NODE_NETWORK and NODE_WITNESS.
Ava Chow
CC BY-SA 4.0
2023-08-03T12:27:59.293Z
Turns out there are a lot of scanner nodes just connected to me and asked version then just sit silently, I have set up a full node that only connected to me and to another node and I was seeing incoming invs. Thanks though!
Eva4684
<bitcoin-core-development><protocol><raw-transaction><peers><inventory>
No inv messages from inbound nodes
Eva4684
# No inv messages from inbound nodes

(Asked by: username_0 on 2023-08-01)

I'm writing a tx relay-only node that can accept inbound connections and make outbound ones. Just for research.

What I'm seeing that on inbound nodes the initial handshake completes and the connection just hangs, I should receive invs shouldn't I?

For outbound it works great, I receive invs and redistribute to others.

Tx relay flag is set in version msg for both direction. Services field is 0. What else do I need?

**Tags:** bitcoin-core-development, protocol, raw-transaction, peers, inventory

> **Comments:**
> **username_1**: Are you sure that you aren't being disconnected? If you don't have any service bits set, nodes will probably end up disconnecting from you since they are expecting their outbounds to have at least the service bits NODE_NETWORK and NODE_WITNESS.  
> **username_0**: Turns out there are a lot of scanner nodes just connected to me and asked version then just sit silently, I have set up a full node that only connected to me and to another node and I was seeing incoming invs. Thanks though!  

---

## 0 answers

