What is Nostr?
todor / Todor
npub1mj5…4lvd
2023-03-20 13:26:35
in reply to nevent1q…9vd7

todor on Nostr: You can find out what's the minimum channel size a remote autoconf peer supports just ...

You can find out what's the minimum channel size a remote autoconf peer supports just by issuing a channelopen. Not sure how to do it as part of non-intrusive reconnaissance tbh.

e.g. by doing these two commands, I can find out what's the minimum channel size for WoS (assuming I also don't know what's my own min chan size, which is at the default of 20000sat). This doesn't cause on-chan activity.

lncli openchannel \
--node_key 035e4ff418fc8b5554c5d9eea66396c227bd429a3251c8cbc711002ba215bfc226 \
--connect 170.75.163.209:9735 \
--local_amt 5000 \
--sat_per_vbyte 1 \
--min_confs 0

[lncli] rpc error: code = Unknown desc = channel is too small, the minimum channel size is: 20000 SAT
---------------------------------------------------------------------------------------
lncli openchannel \
--node_key 035e4ff418fc8b5554c5d9eea66396c227bd429a3251c8cbc711002ba215bfc226 \
--connect 170.75.163.209:9735 \
--local_amt 20000 \
--sat_per_vbyte 1 \
--min_confs 0

[lncli] rpc error: code = Unknown desc = received funding error from 035e4ff418fc8b5554c5d9eea66396c227bd429a3251c8cbc711002ba215bfc226: chan_id=78371b9aaaf01e9e3eab99ec0d7633cced28cb3eb9d49b55f746edaccc7f84b1, err=chan size of 0.0002 BTC is below min chan size of 0.05 BTC
Author Public Key
npub1mj522qzm878k9zszhv7lruyz2wgtyearf52nslaz5gek9c75ldpq9t4lvd