Grin: [dandelion] specify node address for dandelion stem phase

Created on 11 Jul 2018  路  7Comments  路  Source: mimblewimble/grin

Right now its really difficult to test/demonstrate the aggregation behavior via Dandelion.
You can send txs from a couple of nodes but the chances of them actually crossing paths during the stem phase is low.

  • we only send txs during stem phase to a single outbound node
  • we randomly choose that stem node every 10 mins
  • we need to wait for a confirmation before sending a subsequent tx (spend all outputs by default)

It would be useful if we could either -

  1. configure a single outbound node in grin.toml to always forward stems txs to, or
  2. pass an optional (first hop) node address when sending a tx from the grin command line

This would allow us to get a couple of txs into the same node within a short period of time and have them aggregate on their way through the stem phase with reasonably high success rate.

enhancement good first issue help wanted

All 7 comments

Hey I am interested in giving this a whack this weekend.

To get warmed up, you could start with adding a command line option and
print it out like "Dandelion stem added: (partially masked IP)" so it will
show in the logs, but not fully give away where the stem is. I.e. logs
should not give away too much details if grin wants to claim the anonymous
niche.
And on Monday there's a dev meeting on gitter chat, please come join there!

Thanks @sesam , I will go down this route. I will also try to tune in monday!

Giving this up, swamped with outside work stuff right now.

Is this still necessary?
If so I would like to give it a try

yes I think so. There might be other things more urgent though until mainnet. Once you got grin building and synched up, come into the dev chat for a better update.

Fixed by #2263

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RiyaKarthi picture RiyaKarthi  路  3Comments

antiochp picture antiochp  路  3Comments

antiochp picture antiochp  路  3Comments

alden-alvins picture alden-alvins  路  5Comments

yeastplume picture yeastplume  路  3Comments