These are chat archives for ethereum/tutorials

16th
Jan 2017
Charlie Morris
@chtmorris
Jan 16 2017 00:40
@pirapira my understanding is that as a contract is deployed there is one function that runs. In the Ethereum greeter tutorial example, it is the "greeter" function that is executed. The caller can then call the "greet" function. So my question is, why is it the "greeter" function that runs when the contract is executed and not the "greet" function?
gladsjr
@gladsjr
Jan 16 2017 02:56
Hi everyone! I was studying the DAO tutorial and I think I found something strange in the explaining text. This is the extract: 'On the "select function" picker, choose "Change Membership". Add the address of the person you want to make a member and check the box can vote (to remove a member, do the same but leave the box unticked)'. It does not seem to represent well how the function addMember() works. Or have I lost anything?
Yoichi Hirai
@pirapira
Jan 16 2017 09:10
@chtmorris I see your question now. Yes, when the contract is deployed, a function runs. This function has the same name as the contract.
Charlie Morris
@chtmorris
Jan 16 2017 10:36
@pirapira thank you!
Jerome de Tychey
@jdetychey
Jan 16 2017 15:26
hi there
is this information still true ?
Currently, due to a lack of clear information about how miners will behave in reality, we are going with a fairly simple approach: a voting system. Miners have the right to set the gas limit for the current block to be within ~0.0975% (1/1024) of the gas limit of the last block, and so the resulting gas limit should be the median of miners' preferences. The hope is that in the future we will be able to soft-fork this into a more precise algorithm.
Jerome de Tychey
@jdetychey
Jan 16 2017 17:37
edit: yes it is
cburgdorfer
@cburgdorfer
Jan 16 2017 22:16
Hi, I'm getting [] instead of ['Solidity'] when running eth.getCompilers() ... but I've installed solidity and restarted the ethereum wallet and restarted the computer. What am I missing?
"$ which solc" gives me "/usr/local/bin/solc" (I'm on Mac)
cburgdorfer
@cburgdorfer
Jan 16 2017 22:28
And I installed via "Brew"