Linked Questions

2
votes
1answer
1k views

Where is storing events log? [duplicate]

I can't understand where are these events log data is stored? I can access to my logs by myContract.allEvents({ fromBlock: 2139049, toBlock: 'latest' }, function(error, event){ ...
54
votes
10answers
37k views

How to get contract internal transactions

I'd like to get the contract internal transactions like: https://etherscan.io/address/0xd654bdd32fc99471455e86c2e7f7d7b6437e9179#internaltx I'm using web3 API. Is there any way to do it? Where do ...
50
votes
3answers
35k views

What is an Event?

What is an Event? Are they only used in Solidity? How are events defined? How are events initiated? Is there a standard term for an event's invocation (do you say an event "happened", "was called",...
24
votes
1answer
3k views

Are events permanently stored and reliably available to contracts in the future?

I've seen this forum post about using Ethereum as an event store: Events in Solidity, using blockchain as eventstore. However, it doesn't seem conclusive. For instance it says: I confirmed with ...
21
votes
1answer
3k views

Difference between a pruned and unpruned blockchain

At the Berlin Blockchain Meetup, Gustav Simonsson teased the Homestead release coming soon (tm) and we were discussing blockchain bloat and the current size of the Ethereum blockchain. We discussed ...
9
votes
4answers
4k views

Proving the Existence of Logs to the Blockchain

To preface this: I'm not entirely sure this question makes any sense. Just a thought I had that I wanted to check the feasibility of. I'm pretty sure it is possible to use a Merkle proof to show that ...
4
votes
2answers
809 views

What do you mean by private and public smart contract in private blockchain ethereum? How to create it?

What I have done 1. A running private blockchain. 2. written and deploy a smart contract. 3. smart contract works fine on my private blockchain What I want 1. Only authorized account can access my ...
7
votes
1answer
381 views

What are the benefits of using events over dedicated indexed variable?

Good day. I'm trying to grasp the concept of events in the EVM and I just can't understand what is the incentive of using events. Why not just use a dedicated public index that will hold information? ...
0
votes
2answers
124 views

How do oracle services interact with logs?

I am approaching blockchain and smart contracts for the first time and I have trouble understanding some concepts. I read this article https://medium.com/decentlabs/building-your-first-ethereum-oracle-...
1
vote
1answer
90 views

Storing state in log vs in contract variable

I've read somewhere says storing values in logs is cheaper than storing it in the contract's permanent storage. I wondered if it is the case. If yes, why? More general question: What is the pros and ...
1
vote
0answers
46 views

What happened if a Ethereum client do not have one event?

Reading this question, I understand that as long as you have the blockchain then you have all the events/logs. But if a dapp is reading data from a light Ethereum client, how will this light client ...