3

Interested in calculating the number of transactions submitted by type of node. Ie seeing how many transactions are originating from light clients vs full-nodes.

2 Answers 2

2

No there is no way to identify the source of a transaction. In general we are trying to make transaction submission as anynomous as possible. Including anything to identify the node type or similar would defeat this goal.

1

As far as Smoldot; a submitted transaction is validated and then send to full nodes.

The full nodes will handle this transaction like any other transaction coming from another peer; validating it, and if correct, adding it to their transaction pool.

Eventually the transaction will be added to a block. Smoldot is checking this for a certain amount of time and also if it is finalized. It updates the Smoldot user about this.

However, generally there is no way of identifying whether a transaction is submitted through a light client or a full node.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.