These are chat archives for Nethereum/Nethereum

1st
Nov 2016
WINMAN
@WINMAN174
Nov 01 2016 05:10
Is there any way to listen to events?
watch?
Juan Blanco
@juanfranblanco
Nov 01 2016 06:41
you will have to create your own pulling mechanism, I have not implemented it as this can vary (a lot) between clients and servers.
also there is a video tutorial on the same page
WINMAN
@WINMAN174
Nov 01 2016 07:41
Yeah I've seen all that. Polling or Pulling kind of defeats the purpose of async events. That will not do. Must have callbacks.
somehow
thanks
Juan Blanco
@juanfranblanco
Nov 01 2016 07:45
What are you implementing?
That will not do. Must have callbacks.
WINMAN
@WINMAN174
Nov 01 2016 08:25
I just have a few contracts and need to listen/watch/monitor events when they are triggered in the contract.
This is necessary so I can perform operations outside the blockchain. You know, the cryplets situation. Oracles, whatever.
Timing is important
Is that possible? I am new to all this.
Juan Blanco
@juanfranblanco
Nov 01 2016 08:29
blocks are processed every 15 seconds, so you can cron / job that
later on when websockets is implemented (and we have faster blocks)
WINMAN
@WINMAN174
Nov 01 2016 08:31
we?
Juan Blanco
@juanfranblanco
Nov 01 2016 08:31
we as in ethereum public chain
WINMAN
@WINMAN174
Nov 01 2016 08:31
IC
Juan Blanco
@juanfranblanco
Nov 01 2016 08:32
websockets has not been added yet to nethereum
WINMAN
@WINMAN174
Nov 01 2016 08:32
right
Juan Blanco
@juanfranblanco
Nov 01 2016 08:33
I am experimenting with libraries at the moment
WINMAN
@WINMAN174
Nov 01 2016 08:34
that can take some time
If, for instance, I was using web3 and javascript how robust and timely are messages watched? Do you know?
*can be
I'm not sure I understand how that works
WINMAN
@WINMAN174
Nov 01 2016 08:44
wow
I guess it would have to now that I think about it.
yes different needs, different implementations
server, cloud, client
1 smart contract, 1million smart contracts
ie you dont want to filter 1 million smart contracts
WINMAN
@WINMAN174
Nov 01 2016 08:50
Ok good info. I'll have to think about this. Not sure if this will work. I may have to do more than expected outside the chain.
Thanks for the information.
Juan Blanco
@juanfranblanco
Nov 01 2016 08:51
my pleasure, let us know how you get on
WINMAN
@WINMAN174
Nov 01 2016 08:53
Sure. I may have to use a message queue but I don't like that idea because it is centralized.
Juan Blanco
@juanfranblanco
Nov 01 2016 08:56
clients are centralised as they are connecting to the node, especially oracles which are bridges to centralised data
the simplest approach is, if not possible, pick the centralised route, and when a solution is available move to decentralised
WINMAN
@WINMAN174
Nov 01 2016 09:01
That's what I'm thinking. Trying to figure the boundaries of decentralized system. Also trying to figure out Microsoft's next move so I can abstract into future technology. I am a partner and bizspark graduate you'd think they'd keep me up to date. :-)
Juan Blanco
@juanfranblanco
Nov 01 2016 09:09
Yes, best approach is to start early and later on refactor as new things come out from MS.
I think we are all looking forward to have more info on Cryptlets
Andres G. Aragoneses
@knocte
Nov 01 2016 09:38
mmm, I just read up until the Overview section of https://github.com/Azure/azure-blockchain-projects/blob/master/bletchley/CryptletsDeepDive.md and still not clear what the hell I have read; seems very pie in the sky so far, some parts even smelling like bullshit
Juan Blanco
@juanfranblanco
Nov 01 2016 13:43
@knocte it gets interesting after that, but yes not very clear
WINMAN
@WINMAN174
Nov 01 2016 17:24
lol
Its all BS until it isn't