Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 05 2016 10:31
    @alexvandesande banned @adamskee
  • Mar 16 2016 01:12
    @alexvandesande banned @scbosse
Brooks Boyd
@MidnightLightning
If you are asking if you can write your own cryptocurrency on the Ethereum network, then yes. If that's not your question, can you try and explain it further?
manu3d
@emanuele3d

@MidnightLightning the tutorials on ethereum.org are based on using EthereumWallet hence my (first) attempt going down that route. I will try the other solutions you suggest.

@phalexo: my OS is Windows 7.

Jumping the subject a bit, what are the current encryption capabilities within smart contracts? I.e. could a voter send a token containing an encrypted envelope with a vote/choice that only the contract can open, so that 1) the voter can only vote once and there is a record that the voter has voted, as a transaction 2) all the votes are unencrypted only when the tallying occurs and individual votes cannot be reconnected with the voter.

Also, I'm guessing the previous question might be more appropriate in another ethereum-related room? "research" perhaps?

phalexo
@phalexo
@emanuele3d Find out what service you can use to sync your clock, on Linux it is NTP.
manu3d
@emanuele3d
Win7 has an "Internet Time" which in my case is currently enabled and set to poll time.nist.gov.
So, my clock should be synchronized to a second or less with an atomic clock somewhere in the US.
phalexo
@phalexo
Should be ok. So what happens with blockchain sync?
manu3d
@emanuele3d
About 10 minutes ago I thought of starting Mist and it says it needs to be synced. It says it is downloading block 4217349 out of 4217527 and is currently hanging, seemingly doing nothing. A few minutes ago it said it was downloading the chain structure, but it often seem to restart the process from scratch as it currently says 700 out of 10000, with both numbers rapidly increasing... until they slow down and they disappear for a while.
phalexo
@phalexo
My bet was the clock. Run geth from a command line with --fast --cache 1024 --ipcpath C:\temp\geth.ipc and wait for it to get to the point where it downloads 1 block at a time.
And then try to attach to it, with mist.exe --rpc C:\temp\geth.ipc
manu3d
@emanuele3d
Trying now.
I thought --fast worked only if I used removedb first...
manu3d
@emanuele3d
Something seems strange though. Nothing gets created in the ipcpath folder...
phalexo
@phalexo
@emanuele3d Don't listen to idiots telling you to delete stuff.
manu3d
@emanuele3d
Roger that. =)
phalexo
@phalexo
There is no socket in C:\temp?
Does C:\temp exist?
manu3d
@emanuele3d
I mean: the folder exist, the .ipc file doesn't.
phalexo
@phalexo
Hm.
Maybe flags are different on Windows.
manu3d
@emanuele3d
Lemmecheck.
At the beginning of the execution it said: IPC endpoint opened: \.\pipe\C:/temp/gethTmp/geth.ipc does that look alright to you? Of course I did create the gethTmp folder first.
phalexo
@phalexo
Ok, so it did open the pipe.
manu3d
@emanuele3d
--ipcpath is definitely mentioned in geth --help.
Yes, but there is nothing in that folder. Is that intended? I was expecting a geth.ipc file in there.
phalexo
@phalexo
Maybe you'll have to pass C:/temp/gethTmp/geth.ipc to Mist.
can you see gethTmp in temp?
manu3d
@emanuele3d
Yes, gethTmp is there. It's just empty.
phalexo
@phalexo
Windows is strange.
It may be invisible
manu3d
@emanuele3d
<sigh> yes.
I just ran ls -la (I installed unix commands) but it didn't find anything hidden. Let me check though.
phalexo
@phalexo
The question is if geth is downloading blocks
And if it is 1 block at a time.
manu3d
@emanuele3d

Most of the lines of output I see are in the form:

INFO [08-29|23:22:57] Imported new state entries count=2 flushed=0 elapsed=920.052ms processed=131 pending=1052 retry=0 duplicate=0 unexpected=0

phalexo
@phalexo
No lines wth block numbers?
manu3d
@emanuele3d

Just now a line in the form:

INFO [08-29|23:23:16] Imported new block receipts count=8 elapsed=33.001ms number=4217372 hash=f3814f…8b29d8 ignored=0

popped in.

phalexo
@phalexo
at the end or close
manu3d
@emanuele3d
Is that telling me 8 blocks have just been imported?
phalexo
@phalexo
Still have to wait then
Until 1 block at a time.
manu3d
@emanuele3d

So, that "count" is the number of blocks it imported? And what's the difference between block headers and block receipts? I.e.:

INFO [08-29|23:23:51] Imported new block headers count=0 elapsed=3.000ms number=4217564 hash=c81854…80d25f ignored=192
INFO [08-29|23:23:52] Imported new block headers count=41 elapsed=51.002ms number=4217632 hash=22428d…077237 ignored=27
INFO [08-29|23:23:59] Imported new block receipts count=22 elapsed=35.002ms number=4217394 hash=53a58b…4d6d18 ignored=0

phalexo
@phalexo
about 300 to go
,640 on my end
manu3d
@emanuele3d
Why is the process very slow toward the end of the chain? At the beginning it seemed very quick.
phalexo
@phalexo
Probably compressed blocks.
manu3d
@emanuele3d
You mean the initial... 4 million were compressed blocks?
phalexo
@phalexo
Assuming.
Also more peers have older blocks, again my assumption.
,645 block here
manu3d
@emanuele3d
I thought that might be, but I'm a newbie in P2P stuff and I didn't want to assume. =)