Skip to content
LearnBitcoin

ResearchBitcoin Dev Archive lightning-dev list

Jamming Mitigation Dry Run

8 messages, Aug 1 to 10, 2023. Started by Carla Kirk-Cohen.

Elias Rohrer (3), Carla Kirk-Cohen (2), Vincenzo Palazzo (2), Peter Todd

Permalink First message in the Wayback Machine

Carla Kirk-Cohen permalink original

Hi list,

## TL;DR We're moving ahead with the plan discussed at the summit to "dry run" HTLC endorsement and local reputation tracking to better inform our efforts to mitigate jamming attacks.

Our goals are:
* To use real-world data to sanity check the "steady state" behavior
  of local reputation algorithms, and to better inform creation of
  synthetic data for simulating attack scenarios.
* To obtain liquidity and slot utilization data to inform sane defaults
  for resource bucketing.
* To provide a common data export format to use as a common basis for
  analysis.

As code takes some time to write and deploy, there are a few phases for this plan - details at the end of the email for those who are interested! 1. Collect anonymized forwarding data with a common format. 2. Propagate experimental `endorsement` TLV. 3. Implement local reputation and set `endorsement` values.

This is a multi-team effort:
* Eclair: Thomas is looking into collecting local reputation data
  in [1].
* CLN: Vincenzo is working on experimental update to propagate the
  endorsement field and a plugin that will allow us to run local
  reputation scoring.
* LND: I am working on data export and HTLC endorsement via
  circuitbreaker [2].
* LDK: some additional plumbing is needed, as outlined in [3].

## Research Plan

### 1. Collect Anonymized Data We're aware that we are dealing with sensitive and private information. For this reason, we propose defining a common data format so that analysis tooling can be built around, so that node operators can run the analysis locally if desired. Fields marked with [P] *MUST* be randomized if exported to researching teams.

The proposed format is a CSV file with the following fields:
* version (uint8): set to 1, included to future-proof ourselves
  against the need to change this format.
* channel_in (uint64)[P]: the short channel ID of the incoming channel
  that forwarded the HLTC.
* channel_out (uint64)[P]: the short channel ID of the outgoing
  channel that forwarded the HTLC.
* peer_in (hex string)[P]: the hex encoded pubkey of the remote peer
  for the channel_in.
* peer_out (hex_string)[P]: the hex encoded pubkey of the remote peer
  for the channel_out.
* fee_msat(uint64): the fee offered by the HTLC, expressed in msat.
* outgoing_liquidity (float64): the portion of
  `max_htlc_value_in_flight` that is occupied on channel_out after the
  HTLC has been forwarded.
* outgoing_slots (float64): the portion of `max_accepted_htlcs` that
  is occupied on channel_out after the HTLC has been forwarded.
* ts_added_ns (uint64): the unix timestamp that the HTLC was added,
  expressed in nanoseconds.
* ts_removed_ns (uint64): the unix timestamp that the HLTC was
  removed, expressed in nanoseconds.
* htlc_settled (bool): set to 0 if the HTLC failed, and 1 if it was
  settled.
* incoming_endorsed (int16): an integer indicating the endorsement
  status of the incoming HTLC (-1 if not present, otherwise set to the
  value in the incoming endorsement TLV).
* outgoing_endorsed (int16): an integer indicating the endorsement
  status of the outgoing HTLC (-1 if not set, otherwise set to the
  value set in the outgoing endorsement TLV).

Before we add endorsement signaling and setting via an experimental TLV, the last two values here will always be -1. The data is still incredibly useful in the meantime, and allows for easy update once the TLV is propagated through the network.

### 2. Propagate Experimental Endorsement TLV HTLC endorsement is signaled using an experimental range TLV in `update_add_htlc` (which has been reserved in [4]):

tlv_stream: update_add_htlc_tlvs
  Type: 655555
  Data: byte (endorsed)
This signal should be propagated by forwarding nodes in the following
manner:
- if `endorsed` is present in the incoming `update_add_htlc`:
  - set the same value for the outgoing `update_add_htlc`.
- otherwise:
  - set `endorsed` = 0 for the outgoing `update_add_htlc`.

### 3. Implement Local Reputation and Set Endorsement The final step will be to implement local reputation algorithms and start to actively set the value of the `endorsed` TLV for outgoing HTLCs, rather than simply copying the value presented by the sending node. This signal will *not* be used for any purpose other than data collection.

Experimenters are free to use the full range of bits to express endorsement values, but should be aware that any non-zero value will be interpreted as a positive endorsement signal by implementations using binary endorsement (as is currently specified in [5]).

A positive endorsement signal requires that the original sender of a HTLC sets a non-zero value, but bears the privacy risk of indicating that they are the sending node during upgrade. We suggest that senders choose some probability P (suggested default: 20%) with which to set endorsed=1 for their payments.

Once we've got data collection code in place, we'll make a more general call for node operators to start collection. In the meantime, feel free to reach out if you have any questions or are interested in helping out!

Cheers, Carla + Clara

## References [1] https://github.com/ACINQ/eclair/pull/2716 [2] https://github.com/lightningequipment/circuitbreaker/issues/77 [3] https://github.com/lightningdevkit/rust-lightning/issues/2425 [4] https://github.com/lightning/blips/pull/27 [5] https://github.com/lightning/bolts/pull/1071

Elias Rohrer in reply to Carla Kirk-Cohen permalink original

Hi Carla + Clara,

I want to prefix this by saying that I'm very familiar with how limiting the lack of available real-world datasets can be for conducting significant simulations and empirical experiments on Lightning.

However, it may be noteworthy that long-term collection of the proposed fields could potentially allow to re-identify the anonymized channel counterparties based off some heuristics correlating with the public graph data, especially when datasets from multiple (possibly neighbouring) collection points will end up being combined. Subsequently, this might allow to draw further conclusions on transferred amounts, channel liquidities at particular times, and, as HTLC settlement/failure timestamps are recorded in nanosecond resolution, potentially even the payment destination's identity (cf. [1]).

As surrendering this kind of data therefore requires a good level of trust in the researchers, it might be helpful (and best practise) if you could clarify upfront whether you intend to time-box the collection period, where the data would be stored, and who would have access to it. From my point of view clearly defining the collection period would also be mandatory as we don't want to incentivise node operators to collect and store HTLC data longer-term, especially if it's to this degree of detail.

Best,

Elias

[1]: https://arxiv.org/pdf/2006.12143.pdf

Quoted text (42 lines)
> ### 1. Collect Anonymized Data
> We're aware that we are dealing with sensitive and private
> information.
> For this reason, we propose defining a common data format so that
> analysis tooling can be built around, so that node operators can run
> the analysis locally if desired. Fields marked with [P] *MUST* be
> randomized if exported to researching teams.
>
> The proposed format is a CSV file with the following fields:
> * version (uint8): set to 1, included to future-proof ourselves
>   against the need to change this format.
> * channel_in (uint64)[P]: the short channel ID of the incoming channel
>   that forwarded the HLTC.
> * channel_out (uint64)[P]: the short channel ID of the outgoing
>   channel that forwarded the HTLC.
> * peer_in (hex string)[P]: the hex encoded pubkey of the remote peer
>   for the channel_in.
> * peer_out (hex_string)[P]: the hex encoded pubkey of the remote peer
>   for the channel_out.
> * fee_msat(uint64): the fee offered by the HTLC, expressed in msat.
> * outgoing_liquidity (float64): the portion of
>   `max_htlc_value_in_flight` that is occupied on channel_out after the
>   HTLC has been forwarded.
> * outgoing_slots (float64): the portion of `max_accepted_htlcs` that
>   is occupied on channel_out after the HTLC has been forwarded.
> * ts_added_ns (uint64): the unix timestamp that the HTLC was added,
>   expressed in nanoseconds.
> * ts_removed_ns (uint64): the unix timestamp that the HLTC was
>   removed, expressed in nanoseconds.
> * htlc_settled (bool): set to 0 if the HTLC failed, and 1 if it was
>   settled.
> * incoming_endorsed (int16): an integer indicating the endorsement
>   status of the incoming HTLC (-1 if not present, otherwise set to the
>   value in the incoming endorsement TLV).
> * outgoing_endorsed (int16): an integer indicating the endorsement
>   status of the outgoing HTLC (-1 if not set, otherwise set to the
>   value set in the outgoing endorsement TLV).
>
> Before we add endorsement signaling and setting via an experimental
> TLV, the last two values here will always be -1. The data is still
> incredibly useful in the meantime, and allows for easy update once the
> TLV is propagated through the network.
Carla Kirk-Cohen in reply to Elias Rohrer permalink original

Hi Elias,

Thanks for re-emphasizing the importance of being privacy-conscious as we look into this work - we completely agree!

Quoted text (2 lines)
> clarify upfront whether you intend to time-box the collection period,
where the data would be stored, and who would have access to it

Our ideal collection period would be limited to a 6 month period. One of our main aims in defining a common data format is to ensure that we can provide node operators with tooling that they can run locally, so that they do not need to export the data _at all_, only very aggregated results.

In the case where folks are comfortable sharing their data with us, we will follow best practices handling this sensitive information and will not share the data onwards at all. Fields will also be anonymized as described in the original email. Re your concerns around timestamps, we can also fuzz timestamps, as only the resolution period matters to our work (thanks for flagging!).

I hope that addresses your concerns. Research based on real world data is always a difficult line to walk, but we believe worthwhile in this case.

Cheers, Carla + Clara

On Thu, Aug 3, 2023 at 4:54 AM Elias Rohrer <lnml at tnull.de> wrote:

Quoted text (72 lines)
> Hi Carla + Clara,
>
> I want to prefix this by saying that I'm very familiar with how limiting
> the lack of available real-world datasets can be for conducting significant
> simulations and empirical experiments on Lightning.
>
> However, it may be noteworthy that long-term collection of the proposed
> fields could potentially allow to re-identify the anonymized channel
> counterparties based off some heuristics correlating with the public graph
> data, especially when datasets from multiple (possibly neighbouring)
> collection points will end up being combined. Subsequently, this might
> allow to draw further conclusions on transferred amounts, channel
> liquidities at particular times, and, as HTLC settlement/failure timestamps
> are recorded in nanosecond resolution, potentially even the payment
> destination's identity (cf. 1 <https://arxiv.org/pdf/2006.12143.pdf>).
>
> As surrendering this kind of data therefore requires a good level of trust
> in the researchers, it might be helpful (and best practise) if you could
> clarify upfront whether you intend to time-box the collection period, where
> the data would be stored, and who would have access to it. From my point of
> view clearly defining the collection period would also be mandatory as we
> don't want to incentivise node operators to collect and store HTLC data
> longer-term, especially if it's to this degree of detail.
>
> Best,
>
> Elias
>
> ### 1. Collect Anonymized Data
> We're aware that we are dealing with sensitive and private information.
> For this reason, we propose defining a common data format so that
> analysis tooling can be built around, so that node operators can run
> the analysis locally if desired. Fields marked with [P] *MUST* be
> randomized if exported to researching teams.
>
> The proposed format is a CSV file with the following fields:
> * version (uint8): set to 1, included to future-proof ourselves
> against the need to change this format.
> * channel_in (uint64)[P]: the short channel ID of the incoming channel
> that forwarded the HLTC.
> * channel_out (uint64)[P]: the short channel ID of the outgoing
> channel that forwarded the HTLC.
> * peer_in (hex string)[P]: the hex encoded pubkey of the remote peer
> for the channel_in.
> * peer_out (hex_string)[P]: the hex encoded pubkey of the remote peer
> for the channel_out.
> * fee_msat(uint64): the fee offered by the HTLC, expressed in msat.
> * outgoing_liquidity (float64): the portion of
> `max_htlc_value_in_flight` that is occupied on channel_out after the
> HTLC has been forwarded.
> * outgoing_slots (float64): the portion of `max_accepted_htlcs` that
> is occupied on channel_out after the HTLC has been forwarded.
> * ts_added_ns (uint64): the unix timestamp that the HTLC was added,
> expressed in nanoseconds.
> * ts_removed_ns (uint64): the unix timestamp that the HLTC was
> removed, expressed in nanoseconds.
> * htlc_settled (bool): set to 0 if the HTLC failed, and 1 if it was
> settled.
> * incoming_endorsed (int16): an integer indicating the endorsement
> status of the incoming HTLC (-1 if not present, otherwise set to the
> value in the incoming endorsement TLV).
> * outgoing_endorsed (int16): an integer indicating the endorsement
> status of the outgoing HTLC (-1 if not set, otherwise set to the
> value set in the outgoing endorsement TLV).
>
> Before we add endorsement signaling and setting via an experimental
> TLV, the last two values here will always be -1. The data is still
> incredibly useful in the meantime, and allows for easy update once the
>
> TLV is propagated through the network.
>
>
Vincenzo Palazzo in reply to Elias Rohrer permalink original

Hi Elias,

I do not see the privacy concern here for two main reasons: The dray run will be done on a selected node (who wants to run it), so I am assuming that with my research node, I am not buying my house (or maybe a coffee). The only leak of privacy that I see is for the following fields, but they are meaningless from the analysis point of view so that we can fake is (I will do this in core lightning) you need just to make sure that the fake channel id is always the same, right?

Quoted text (11 lines)
>* channel_in (uint64)[P]: the short channel ID of the incoming channel
> that forwarded the HLTC.
>
>* channel_out (uint64)[P]: the short channel ID of the outgoing
> channel that forwarded the HTLC.
>
>* peer_in (hex string)[P]: the hex encoded pubkey of the remote peer
> for the channel_in.
>
>* peer_out (hex_string)[P]: the hex encoded pubkey of the remote peer
> for the channel_out.

I care about this point to make this research result 100% reproducible by giving access to raw data to involve more people in verifying and proving that we are wrong.

Due to the limitation of the data that should come from real nodes with real bitcoin involved, we can fall in the situation that we leave in our bubble of certainty.

I am missing something in the point that we can fake the channel_id and the node pub key?

P.S: I had some real examples in the university that I came from of PhD program failed to start due to the lack of real data

Cheers, Vincent. On Aug 3 2023, at 10:54 am, Elias Rohrer <lnml at tnull.de> wrote:

Quoted text (61 lines)
>
> Hi Carla + Clara,
>
> I want to prefix this by saying that I'm very familiar with how limiting the lack of available real-world datasets can be for conducting significant simulations and empirical experiments on Lightning.
> However, it may be noteworthy that long-term collection of the proposed fields could potentially allow to re-identify the anonymized channel counterparties based off some heuristics correlating with the public graph data, especially when datasets from multiple (possibly neighbouring) collection points will end up being combined. Subsequently, this might allow to draw further conclusions on transferred amounts, channel liquidities at particular times, and, as HTLC settlement/failure timestamps are recorded in nanosecond resolution, potentially even the payment destination's identity (cf. 1 (https://arxiv.org/pdf/2006.12143.pdf)).
> As surrendering this kind of data therefore requires a good level of trust in the researchers, it might be helpful (and best practise) if you could clarify upfront whether you intend to time-box the collection period, where the data would be stored, and who would have access to it. From my point of view clearly defining the collection period would also be mandatory as we don't want to incentivise node operators to collect and store HTLC data longer-term, especially if it's to this degree of detail.
> Best,
> Elias
> > ### 1. Collect Anonymized Data
> > We're aware that we are dealing with sensitive and private information.
> > For this reason, we propose defining a common data format so that
> > analysis tooling can be built around, so that node operators can run
> > the analysis locally if desired. Fields marked with [P] *MUST* be
> > randomized if exported to researching teams.
> >
> >
> > The proposed format is a CSV file with the following fields:
> > * version (uint8): set to 1, included to future-proof ourselves
> > against the need to change this format.
> > * channel_in (uint64)[P]: the short channel ID of the incoming channel
> > that forwarded the HLTC.
> > * channel_out (uint64)[P]: the short channel ID of the outgoing
> > channel that forwarded the HTLC.
> > * peer_in (hex string)[P]: the hex encoded pubkey of the remote peer
> > for the channel_in.
> > * peer_out (hex_string)[P]: the hex encoded pubkey of the remote peer
> > for the channel_out.
> > * fee_msat(uint64): the fee offered by the HTLC, expressed in msat.
> > * outgoing_liquidity (float64): the portion of
> > `max_htlc_value_in_flight` that is occupied on channel_out after the
> > HTLC has been forwarded.
> > * outgoing_slots (float64): the portion of `max_accepted_htlcs` that
> > is occupied on channel_out after the HTLC has been forwarded.
> > * ts_added_ns (uint64): the unix timestamp that the HTLC was added,
> > expressed in nanoseconds.
> > * ts_removed_ns (uint64): the unix timestamp that the HLTC was
> > removed, expressed in nanoseconds.
> > * htlc_settled (bool): set to 0 if the HTLC failed, and 1 if it was
> > settled.
> > * incoming_endorsed (int16): an integer indicating the endorsement
> > status of the incoming HTLC (-1 if not present, otherwise set to the
> > value in the incoming endorsement TLV).
> > * outgoing_endorsed (int16): an integer indicating the endorsement
> > status of the outgoing HTLC (-1 if not set, otherwise set to the
> > value set in the outgoing endorsement TLV).
> >
> >
> > Before we add endorsement signaling and setting via an experimental
> > TLV, the last two values here will always be -1. The data is still
> > incredibly useful in the meantime, and allows for easy update once the
> >
>
>
> > TLV is propagated through the network.
>
>
>
> _______________________________________________
> Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://www.learnbitcoin.com/archive/lists/lightning-dev
Elias Rohrer in reply to Carla Kirk-Cohen permalink original

Hi Carla + Clara,

On 3 Aug 2023, at 19:31, Carla Kirk-Cohen wrote:

Quoted text (5 lines)
> Our ideal collection period would be limited to a 6 month period. One
> of our main aims in defining a common data format is to ensure that we
> can provide node operators with tooling that they can run locally, so
> that they do not need to export the data _at all_, only very aggregated
> results.

Ah, I didn't realize that only sharing aggregated results would be the 'default' plan, thanks for clarifying this!

Quoted text (7 lines)
>
> In the case where folks are comfortable sharing their data with us,
> we will follow best practices handling this sensitive information and
> will not share the data onwards at all. Fields will also be anonymized
> as described in the original email. Re your concerns around timestamps,
> we can also fuzz timestamps, as only the resolution period matters to
> our work (thanks for flagging!).

Timestamp fuzzing is great to generally obfuscate when the payments took place, although note that it's of course exactly the resolution time deltas that are the relevant data items w.r.t. timing-based inference.

Best,

Elias

Elias Rohrer in reply to Vincenzo Palazzo permalink original

Hi Vincent,

On 6 Aug 2023, at 21:35, Vincenzo Palazzo wrote:

Quoted text (4 lines)
> I do not see the privacy concern here for two main reasons:
> The dray run will be done on a selected node (who wants to run it), so
> I am assuming that with my research node, I am not buying my house (or
> maybe a coffee).

I'm confused: wasn't the idea to collect data from real-world forwarding nodes rather than creating yet another synthetic/research data set?

Quoted text (29 lines)
> The only leak of privacy that I see is for the following fields, but
> they are meaningless from the analysis point of view so that we can
> fake is (I will do this in core lightning) you need just to make sure
> that the fake channel id is always the same, right?
>
>> * channel_in (uint64)[P]: the short channel ID of the incoming
>> channel
>> that forwarded the HLTC.
>>
>> * channel_out (uint64)[P]: the short channel ID of the outgoing
>> channel that forwarded the HTLC.
>>
>> * peer_in (hex string)[P]: the hex encoded pubkey of the remote peer
>> for the channel_in.
>>
>> * peer_out (hex_string)[P]: the hex encoded pubkey of the remote peer
>> for the channel_out.
>
> I care about this point to make this research result 100% reproducible
> by giving access to raw data to involve more people in verifying and
> proving that we are wrong.
>
> Due to the limitation of the data that should come from real nodes
> with real bitcoin involved, we can fall in the situation that we leave
> in our bubble of certainty.
>
> I am missing something in the point that we can fake the channel_id
> and
> the node pub key?

Sure you can obfuscate these fields, but that doesn't mean it's not possible to re-identify node ids and channels by correlating the dataset with publicly available data, such as the graph topology and gossip data.

Just to throw out some ideas: you could for example assume that over a sufficiently long collection period each channel of a node will eventually be used and show up in the dataset, i.e., you get a good approximation of the number of channels the observation point has with its neighbors. This alone might already be enough to give a good guess which obfuscated node id corresponds to which node in the network. If we now use the timestamps we can further exclude any nodes/channels that couldn't have been used at the time the HTLC was sent from the candidate set, and, especially if we have access to datasets from neighboring nodes, we may be able to easily derive which anonymized clusters correspond to which real world clusters. You could find neighboring nodes by checking that all `ts_added_ns` timestamps between two candidates are sufficiently close together (i.e., that no additional hop would "fit in there" assuming a reasonable real-world RTT). Once we have re-identified which obfuscated nodes are which real-world nodes, we could derive HTLC amount from the gathered fees, and can draw conclusions about the liquidities. We then even may use the HTLC resolution time delta to draw some further conclusions on the network-distance of the HTLC destination. Of course, all of these are estimations, so the adversary has some error probability in there, and fuzzing the timestamps might already go a long making the adversary's life harder.

Quoted text (2 lines)
> P.S: I had some real examples in the university that I came from of
> PhD program failed to start due to the lack of real data

Yes, as said before I'm very familiar with trying to do Lightning research in absence of real-world data sets :)

To be clear I'm not objecting this effort, just saying a) that sharing aggregated results is probably a good starting point and b) that the framework and the associated risks of the data collection should be clearly communicated beforehand to node operators considering sharing their data.

Best,

Elias

Vincenzo Palazzo in reply to Elias Rohrer permalink original

Hi Elias,

I want to clarify that I didn't mean to come across as someone who was suggesting that your points were incorrect. I apologize if I gave the wrong impression.

Quoted text (7 lines)
> > I do not see the privacy concern here for two main reasons:
> > The dray run will be done on a selected node (who wants to run it), so
> > I am assuming that with my research node, I am not buying my house (or
> > maybe a coffee).
>
> I'm confused: wasn't the idea to collect data from real-world forwarding
> nodes rather than creating yet another synthetic/research data set?

Maybe I am mistaken about what a dry-run means for me, so I'm trying to grasp Carla and Clara's proposal here (please correct me if I'm wrong).

    We're implementing this algorithm to test if the theory holds up in practice,
selecting a couple of nodes that will enable this feature and
share the data with us.
    I assume that we don't need many nodes for this task due to the
localized nature of reputation. Each node builds its own reputation.
To summarize, what I'm assuming is that this dry-run is conducted with
selected nodes. Once we understand the direction to proceed, we can prioritize
privacy a bit more and potentially expand the data collection over time.
    At this point, I agree with you that we must consider ways to protect
the privacy of nodes and channels.
Quoted text (22 lines)
> Just to throw out some ideas: you could for example assume that over a
> sufficiently long collection period each channel of a node will
> eventually be used and show up in the dataset, i.e., you get a good
> approximation of the number of channels the observation point has with
> its neighbors. This alone might already be enough to give a good guess
> which obfuscated node id corresponds to which node in the network. If we
> now use the timestamps we can further exclude any nodes/channels that
> couldn't have been used at the time the HTLC was sent from the candidate
> set, and, especially if we have access to datasets from neighboring
> nodes, we may be able to easily derive which anonymized clusters
> correspond to which real world clusters. You could find neighboring
> nodes by checking that all `ts_added_ns` timestamps between two
> candidates are sufficiently close together (i.e., that no additional hop
> would "fit in there" assuming a reasonable real-world RTT). Once we have
> re-identified which obfuscated nodes are which real-world nodes, we
> could derive HTLC amount from the gathered fees, and can draw
> conclusions about the liquidities. We then even may use the HTLC
> resolution time delta to draw some further conclusions on the
> network-distance of the HTLC destination. Of course, all of these are
> estimations, so the adversary has some error probability in there, and
> fuzzing the timestamps might already go a long making the adversary's
> life harder.
    I understand your point. To me, this use case involves continuous
data collection over time. For instance, I'm interested in tracking the
evolution of the network for the XYZ feature. I see that reverse engineering
is possible to reconstruct missing parts of the graph that a node might be
falsifying. While it's not a straightforward task, it's feasible.
    However, my main point (and I might not have explained myself clearly, for which I apologize)
is that if we run this data collection for 4 to 5 months until our next
analysis, the privacy concerns might seem a bit overly complex. This is
because I am assuming that we need also to trust the source of this
data.
Quoted text (11 lines)
> > P.S: I had some real examples in the university that I came from of
> > PhD program failed to start due to the lack of real data
>
> Yes, as said before I'm very familiar with trying to do Lightning
> research in absence of real-world data sets :)
>
> To be clear I'm not objecting this effort, just saying a) that sharing
> aggregated results is probably a good starting point and b) that the
> framework and the associated risks of the data collection should be
> clearly communicated beforehand to node operators considering sharing
> their data.

I agree! We should convey our goals, the underlying purpose of our actions, and also address any potential drawbacks.

Thanks for sharing those insightful reflection points.

Vincent.

Peter Todd in reply to Elias Rohrer permalink original

On Thu, Aug 03, 2023 at 10:54:06AM +0200, Elias Rohrer wrote:

Quoted text (4 lines)
> As surrendering this kind of data therefore requires a good level of trust
> in the researchers, it might be helpful (and best practise) if you could
> clarify upfront whether you intend to time-box the collection period, where
> the data would be stored, and who would have access to it.

Re: access, since law enforcement may try to gain access to this data, it would be a good idea to setup a warrent canary in advance.