iotaledger / iri

IOTA Reference Implementation
Other
1.15k stars 370 forks source link

Add node feature "WereAddressesSpentFrom" to "getNodeInfo" #1779

Closed muXxer closed 4 years ago

muXxer commented 4 years ago

Description

We need a way to know if the node supports the api call "wereAddressesSpentFrom".

Motivation

This way we can have nodes that don't care about the spent addresses. This is needed for small devices like raspberry pi, otherwise it's almost impossible to create a local snapshot (because disk IO is too much).

Requirements

Return the feature "WereAddressesSpentFrom" in "getNodeInfo" "features"

Am I planning to do it myself with a PR?

Yes.

GalRogozinski commented 4 years ago

Done