5

According to the white paper for IOTA the initial own weight of any transaction is 3n, where n is a positive integer. However, in section 4 it says that the own weight value is capped to one to prevent double-spending attacks. That disproves the initial premise of weight.

What is the actual own weight value of a transaction in IOTA then?

  • You quoted where the initial own weight was 3^n. But can you please quote the section that caps the weight at 1? I don't mean the paragraph that discusses it capped at 1 (I found that) but the passage that actually caps own weight at 1. Maybe the context will help us to understand it better. – WDS Jan 12 '18 at 5:54
  • I'm sorry I couldn't understand what you're asking for exactly. The discussion about capping own weight to 1 is with reference to the double-spending attack scenario and also making IOTA Quantum attack proof. Not sure which passage you're looking for. – Saurav Das Jan 12 '18 at 12:12
  • "However, in section 4 it says that the own weight value is capped to one to prevent double-spending attacks." This is your own quote, man. Show me where in section 4 it says this. – WDS Jan 14 '18 at 23:41
  • Yes my quote is exclusively mine and the whitepaper only implies that rather than saying the exact words. The whole idea of preventing double-spending attack is based on weight capping. – Saurav Das Jan 17 '18 at 14:29
2

The current implementation sets the own weight of any transaction to 1 for reasons of simplicity.

Future plans might introduce a more sophisticated weight calculation algorithm, but this is still part of on-going research.

| improve this answer | |
  • I was going through the Anatomy of a transaction as given here - iota.readme.io/v1.2.0/docs/the-anatomy-of-a-transaction. I didn't see weight as part of the transaction fields which seemed strange to me. How is weight even considered for any transaction then? – Saurav Das Jan 14 '18 at 14:06
  • Weights are calculated on the fly, and only used for tip selection, which is why once you've got your tips there is no need to store the weights. – Phil-ZXX Jan 14 '18 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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