create account

EOS Developer Q&A with Bart of block.one by eosgo

View this thread on: hive.blogpeakd.comecency.com
· @eosgo · (edited)
$13.08
EOS Developer Q&A with Bart of block.one
<center>**Compiled by Sheldon, EOS Go Contributor.**</center>

## Table of Contents:
> 1. fc libraries: [scope_exit.hpp](https://github.com/EOSIO/eos/blob/master/libraries/fc/include/fc/scoped_exit.hpp)
> 2. Glossary: scope,code
> 3. per-contract stdout
> 4. fc libraries: [static_variant.hpp](https://github.com/EOSIO/eos/blob/master/libraries/fc/include/fc/static_variant.hpp)
> 5. Region of data 
> 6. Global Table
> 7. Separate computation & bandwidth

# 1. Scoped_exit.hpp in authority_checker.hpp
> [scoped_exit.hpp](https://github.com/EOSIO/eos/blob/master/libraries/fc/include/fc/scoped_exit.hpp)
> [authority_checker.hpp](https://github.com/EOSIO/eos/blob/master/libraries/chain/include/eosio/chain/authority_checker.hpp)
![](https://us.v-cdn.net/6030588/uploads/editor/f5/jb99qeyy5ukw.png "")
![](https://us.v-cdn.net/6030588/uploads/editor/md/583qez7cah0c.png "")
![](https://us.v-cdn.net/6030588/uploads/editor/ap/0mj1vuk76ri0.png "")
# 2. Glossary: scope vs code
![](https://us.v-cdn.net/6030588/uploads/editor/tc/0kzqoldoy9fx.png "")
`N(scope), N(code), N(table), MyModel, uint128_t`
![](https://us.v-cdn.net/6030588/uploads/editor/k9/0ws3ywtj6ch2.png "")
# 3. per-contract stdout
![](https://us.v-cdn.net/6030588/uploads/editor/kz/ql7vyrhko0wb.png "")
![](https://us.v-cdn.net/6030588/uploads/editor/97/0u1vgdj799ko.png "")

# 4. static_variant.hpp in fc libraries
![](https://us.v-cdn.net/6030588/uploads/editor/mv/12y1spditec8.png "")

![](https://us.v-cdn.net/6030588/uploads/editor/5w/fjay4ypdhtn7.png "")
![](https://us.v-cdn.net/6030588/uploads/editor/1h/zsg9x84w3k1c.png "")
> syntactic sugar for operating on the data of a discriminated union based on the type it holds
> C++17 http://en.cppreference.com/w/cpp/utility/variant
![](https://us.v-cdn.net/6030588/uploads/editor/99/3l1zelh6fd9d.png "")

# 5. Region of data
![](https://us.v-cdn.net/6030588/uploads/editor/mx/zapmw9st4nf9.png "")
![](https://us.v-cdn.net/6030588/uploads/editor/yr/aaywwge0tp06.png "")
> Bart: each row of a table is in exactly 1 scope
![](https://us.v-cdn.net/6030588/uploads/editor/ye/81kcjzb0w6a1.png "")
![](https://us.v-cdn.net/6030588/uploads/editor/ix/jz5czgx815sy.png "")
> By default region 0 implies the current chain and all other chains have different region codes.  --Dan
![](https://us.v-cdn.net/6030588/uploads/editor/fq/tq4r8r8jta7b.png "")
> reference: [Nov 2017 Update Apple Enclave & IBC ](https://steemit.com/eos/@dan/eos-io-developer-update-support-for-apple-s-secure-enclave-and-similar-technologies)

# 6. Global Table
![](https://us.v-cdn.net/6030588/uploads/editor/te/ijcpdstuo2xu.png "")
![](https://us.v-cdn.net/6030588/uploads/editor/1s/ri2nzftn8467.png "")


# 7. Separate computation & bandwidth intensive, expand horizontally & vertically
![](https://us.v-cdn.net/6030588/uploads/editor/9u/ceyixz55ujva.png "")
![](https://us.v-cdn.net/6030588/uploads/editor/18/psyky4kh8q6e.png "")
![](https://us.v-cdn.net/6030588/uploads/editor/2j/oq1kowm96x38.png "")

<br>
## Go EOS!

---------------------------------------

### **[Who are we?](https://steemit.com/eos/@eosgo/what-is-eos-go "Who are we?")**

### EOS Go is the first source for EOS.

### Software company block.one is creating [EOS.IO](https://EOS.IO "EOS.IO") and releasing it as open source code; thousands of individuals will need to come together to bring this new "[internet of value](https://youtu.be/FEl0-zpXVyw "internet of value")" to life.

### How to Get Involved:

### [Community Announcements](https://t.me/eosgo_announcements "Community Announcements") - [YouTube](https://www.youtube.com/channel/UC0fwWI2RBBtEIYIP6fH68XQ/featured "YouTube") - [Twitter](https://twitter.com/go_eos "Twitter") - [Facebook](https://www.facebook.com/eosgoio "Facebook") -  [Forums](https://forums.eosgo.io "Forums")

<center>[![](https://us.v-cdn.net/6030588/uploads/editor/2o/6p9pvd72bz6n.jpg "")](https://forums.eosgo.io)</center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authoreosgo
permlinkeos-developer-q-and-a-with-bart-of-block-one
categoryeos
json_metadata{"community":"busy","app":"busy/2.4.0","format":"markdown","users":["dan","eosgo"],"links":["https://github.com/EOSIO/eos/blob/master/libraries/fc/include/fc/scoped_exit.hpp","https://github.com/EOSIO/eos/blob/master/libraries/fc/include/fc/static_variant.hpp","https://github.com/EOSIO/eos/blob/master/libraries/fc/include/fc/scoped_exit.hpp","https://github.com/EOSIO/eos/blob/master/libraries/chain/include/eosio/chain/authority_checker.hpp","http://en.cppreference.com/w/cpp/utility/variant","https://steemit.com/eos/@dan/eos-io-developer-update-support-for-apple-s-secure-enclave-and-similar-technologies","https://steemit.com/eos/@eosgo/what-is-eos-go","https://EOS.IO","https://youtu.be/FEl0-zpXVyw","https://t.me/eosgo_announcements"],"image":["https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/f5/jb99qeyy5ukw.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/md/583qez7cah0c.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/ap/0mj1vuk76ri0.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/tc/0kzqoldoy9fx.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/k9/0ws3ywtj6ch2.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/kz/ql7vyrhko0wb.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/97/0u1vgdj799ko.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/mv/12y1spditec8.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/5w/fjay4ypdhtn7.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/1h/zsg9x84w3k1c.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/99/3l1zelh6fd9d.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/mx/zapmw9st4nf9.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/yr/aaywwge0tp06.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/ye/81kcjzb0w6a1.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/ix/jz5czgx815sy.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/fq/tq4r8r8jta7b.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/te/ijcpdstuo2xu.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/1s/ri2nzftn8467.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/9u/ceyixz55ujva.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/18/psyky4kh8q6e.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/2j/oq1kowm96x38.png","https://steemitimages.com/0x0/https://us.v-cdn.net/6030588/uploads/editor/2o/6p9pvd72bz6n.jpg"],"tags":["eos","blockchain","cryptocurrency","crypto","busy"]}
created2018-03-11 15:55:15
last_update2018-03-11 15:56:12
depth0
children3
last_payout2018-03-18 15:55:15
cashout_time1969-12-31 23:59:59
total_payout_value10.841 HBD
curator_payout_value2.234 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,914
author_reputation19,975,856,950,324
root_title"EOS Developer Q&A with Bart of block.one"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,730,637
net_rshares4,003,702,748,301
author_curate_reward""
vote details (43)
@arifulbipul ·
Eos has great potential .We have great faith on eos technology as wel as on @brockpearce @daniellarimer @ brandonblummer
properties (22)
authorarifulbipul
permlinkre-eosgo-eos-developer-q-and-a-with-bart-of-block-one-20180311t180254553z
categoryeos
json_metadata{"tags":["eos"],"users":["brockpearce","daniellarimer"],"app":"steemit/0.1"}
created2018-03-11 18:03:00
last_update2018-03-11 18:03:00
depth1
children0
last_payout2018-03-18 18:03:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length120
author_reputation623,176,297,585
root_title"EOS Developer Q&A with Bart of block.one"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,751,711
net_rshares0
@cob ·
$5.66
Can't thank you enough for this resource.
Cheers!
👍  ,
properties (23)
authorcob
permlinkre-eosgo-eos-developer-q-and-a-with-bart-of-block-one-20180311t182757796z
categoryeos
json_metadata{"tags":["eos"],"app":"steemit/0.1"}
created2018-03-11 18:27:57
last_update2018-03-11 18:27:57
depth1
children0
last_payout2018-03-18 18:27:57
cashout_time1969-12-31 23:59:59
total_payout_value5.660 HBD
curator_payout_value0.003 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length49
author_reputation28,093,007,195,816
root_title"EOS Developer Q&A with Bart of block.one"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,755,617
net_rshares1,740,949,006,944
author_curate_reward""
vote details (2)
@silent-ghost ·
Justy wondering, Is EOS written solely in C++?
properties (22)
authorsilent-ghost
permlinkre-eosgo-eos-developer-q-and-a-with-bart-of-block-one-20180311t165747559z
categoryeos
json_metadata{"tags":["eos"],"app":"steemit/0.1"}
created2018-03-11 16:57:48
last_update2018-03-11 16:57:48
depth1
children0
last_payout2018-03-18 16:57:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length46
author_reputation-57,989,992,406
root_title"EOS Developer Q&A with Bart of block.one"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,741,017
net_rshares0