警告:您可能成为了企图假冒本网站内容的目标。 我们检测到该网站被IFRAME包裹,这意味着与EOS Canada无关的人试图向您展示他们的内容与我们的内容相关,可能为了让您相信他们与EOS Canada有关。 我们与任何试图这样做的组织都没有联系,它也没有受到我们的认可



WARNING: you may have been the target of an attempt to misrepresent the content of this site. We detected that the site was wrapped in an IFRAME, which means that someone else, not associated with EOS Canada, attempted to show you their content combined in some way with ours, possibly to make you believe they are associated with EOS Canada. We are not associated with, and do not endorse, any organization attempting to do this.
background-flotant-top-right-01

Blog: EOS Block Producer Tips & News

background-flotant-top-left-01

EOS Devs: An Endpoint with Stronger Guarantees of Inclusion in a Block

September 28, 2018 / by Alexandre Bourget

Alexandre from EOS Canada introduces our new endpoint, that gives you a guarantee your transaction was included in a block.



Transcription:

Hi so while I'm still in the taxi I wanted to give you a little update on things we've been working on. This is dedicated to dApp developers, or people pushing transactions to the network. We created an end-point that is a drop-in replacement for the "push transaction" end-point.

So this is the end-point when you're ready and you've signed a transaction, you'll want to submit it to the network. Now maybe some of you have noticed sometimes you submit a transaction to the network and at some point, it's not applied anymore. It disappears somehow. It's not put in a block.

For different reasons that might happen. That end-point does not guarantee that the block producer somewhere in the network will take your transaction and put it in a block.

So what this end-point does - and we'll be publishing end-points on mainnet, we have that running on Kylin right now - it waits until your transaction is put into a block. And it will return on the http request the block ID, and the block number in which it was included.

So it gives you a greater guarantee that your transaction is on the network and will stay there forever. The risk of a block being reverted and your transaction not being put in the next block is relatively low.

Eventually we'll also be rolling out another which waits for 2 minutes on an http request until the transaction passes through the irreversible threshold. So that would mean you are 100% sure that this transaction is going to go through.

But while you are waiting, and when you're submitting the transaction. And it also means that it's very easy to use, because you just need to use our end-point - and it's going to be flagged as such, like "push guarantee" or something like that.

And when you use that end-point, you'll have slightly different semantics and the response is altered to give you the block number in which it's now irreversible, or the first one in which it was included.

So if you're in that, poke us, come to our EOS Canada Telegram channel. And we'll help you out and if you have use cases or other sorts of services like that that you'd like from us or from the network, by all means tell us. And we'll see you next time.

Topics: Video, Education, EOS Community, tools, websocket

Alexandre Bourget

Written by Alexandre Bourget

Alexandre lives through technology. He wrote his first botnet at 12, later graduated in classical piano and went on to a prolific career in software engineering, with notable open source contributions. Alexandre co-founded two startups, including Bitcredits (a bitcoin payments processor, FounderFuel 2014 Spring Cohort). He then helped PasswordBox (acquired by Intel) craft their data stack and ended up as a lead Data Scientist in the Intel Security Consumer division. Today, Alexandre is very active in the blockchain space, advising several early stage companies. Alexandre taught programming for many years. He does live-coding presentations like no one else (Confoo, PyCon conferences) and is the lead organizer of Golang Montréal. You’ll often find him on Telegram, working through lines of code and bugs with others, doing what he can to help build the EOS community.

cubes-solid

ABCs of EOS

A glossary of terms that every EOS user should know.

MORE

Apply to Access Our Newsletter

Get exclusive insights into EOS blockchain technology