create account

RE: Initial Coin Offerings with SMTs by arcange

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @steemitblog/initial-coin-offerings-with-smts

· @arcange ·
$0.64
First of all, congratulations for this post which clearly and simply explains how to use the parameters of the SMTs.

> The first is the risk that the smart contracts will have a bug... we believe the idiom "All code is buggy"...  With SMTs you get the reliability and security of Steem...

I would like to temper your enthusiasm. 
Indeed, if your code is well written, everything will go smooth. 
But if there is a bug in the SMTP protocol, which seems likely given the beliefs you express, all the SMTs will be affected, not just those with a buggy contract.

In this case, how can this be mitigated?
πŸ‘  , , , , , ,
properties (23)
authorarcange
permlinkre-steemitblog-q05h97
categorysmt
json_metadata{"tags":["smt"],"app":"steempeak/1.19.0"}
created2019-10-29 19:10:21
last_update2019-10-29 19:10:21
depth1
children7
last_payout2019-11-05 19:10:21
cashout_time1969-12-31 23:59:59
total_payout_value0.318 HBD
curator_payout_value0.318 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length602
author_reputation1,146,631,502,104,474
root_title"Initial Coin Offerings with SMTs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id92,019,937
net_rshares3,014,868,302,168
author_curate_reward""
vote details (7)
@janar115 ·
https://steemit.com/bitcoin/@janar115/easy-way-to-earn-crypto
πŸ‘Ž  ,
properties (23)
authorjanar115
permlinkq0enz1
categorysmt
json_metadata{"links":["https://steemit.com/bitcoin/@janar115/easy-way-to-earn-crypto"],"app":"steemit/0.1"}
created2019-11-03 18:13:54
last_update2019-11-03 18:13:54
depth2
children0
last_payout2019-11-10 18:13:54
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_length61
author_reputation-9,903,772,235
root_title"Initial Coin Offerings with SMTs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id92,167,070
net_rshares-320,287,911,744
author_curate_reward""
vote details (2)
@vandeberg ·
$0.02
There are a few mitigations in place already.

We are repurposing existing code as much as possible. We are taking functions that were created to work only with STEEM and making them generic to work with SMTs without changing the functionality. This gives us a greater confidence in a large percentage of the behavior of SMTs as these functions have been battle tested over the last three and a half years. It is not a guarantee, but a high degree of confidence.

We are reserving more of our time for testing SMTs than we have with previous releases.

If there is a bug in SMTs, it will cause a chain halt for everyone. This will allow us to not only fix to first buggy token, but also fix every other SMT at the same time. It will also avoid situations like Ethereum Classic. Because the entire chain will halt, a bug with one token won't require rolling back the entire network and will keep everyone's coins safe.
πŸ‘  , , , , , ,
properties (23)
authorvandeberg
permlinkq05kt5
categorysmt
json_metadata{"app":"steemit/0.1"}
created2019-10-29 20:27:06
last_update2019-10-29 20:27:06
depth2
children5
last_payout2019-11-05 20:27:06
cashout_time1969-12-31 23:59:59
total_payout_value0.010 HBD
curator_payout_value0.010 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length917
author_reputation31,759,426,110,944
root_title"Initial Coin Offerings with SMTs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id92,021,587
net_rshares128,813,868,481
author_curate_reward""
vote details (7)
@cryptologix ·
That's a creative solution for handling bugs that could create a situation where the chain would otherwise have to be rolled back. Definitely the lesser of two evils. 

Is there a quick way to mitigate such an occurrence while the problem with the code is diagnosed and corrected?
πŸ‘  
properties (23)
authorcryptologix
permlinkq0hnte
categorysmt
json_metadata{"app":"steemit/0.1"}
created2019-11-05 09:03:15
last_update2019-11-05 09:03:15
depth3
children0
last_payout2019-11-12 09:03:15
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_length280
author_reputation1,084,130
root_title"Initial Coin Offerings with SMTs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id92,215,741
net_rshares69,384,354
author_curate_reward""
vote details (1)
@improv ·
The whole Steem chain will halt? Oof, we've had a lot of that. Please test in larger environments than before.

Posted using [Partiko Android](https://partiko.app/referral/improv)
πŸ‘  ,
properties (23)
authorimprov
permlinkimprov-re-vandeberg-q05kt5-20191030t002237827z
categorysmt
json_metadata{"app":"partiko","client":"android"}
created2019-10-30 00:22:39
last_update2019-10-30 00:22:39
depth3
children1
last_payout2019-11-06 00:22:39
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_length179
author_reputation228,559,692,170,244
root_title"Initial Coin Offerings with SMTs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id92,026,411
net_rshares38,433,335,368
author_curate_reward""
vote details (2)
@sepracore ·
While blockchain halts suck, the other options are much worse. I will take a temporary halt any day of the week if they don’t happen often. Plus, state files will be a big improvement for getting the chain up and running again if I understand them correctly.
πŸ‘  
πŸ‘Ž  
properties (23)
authorsepracore
permlinkq061ku
categorysmt
json_metadata{"app":"steemit/0.1"}
created2019-10-30 02:29:18
last_update2019-10-30 02:29:18
depth4
children0
last_payout2019-11-06 02:29:18
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_length258
author_reputation19,888,382,618,059
root_title"Initial Coin Offerings with SMTs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id92,028,551
net_rshares15,890,037,214
author_curate_reward""
vote details (2)
@isnochys ·
> If there is a bug in SMTs, it will cause a chain halt for everyone.

This is what I would call "outsourcing of testing and debug onto a public chain".
Not to think of any other reasons one could use this against Stem itself..
πŸ‘  
properties (23)
authorisnochys
permlinkq073ne
categorysmt
json_metadata{"app":"steemit/0.1"}
created2019-10-30 16:11:39
last_update2019-10-30 16:11:39
depth3
children1
last_payout2019-11-06 16:11:39
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_length227
author_reputation47,904,661,910,641
root_title"Initial Coin Offerings with SMTs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id92,045,404
net_rshares3,369,033,502
author_curate_reward""
vote details (1)
@luegenbaron · (edited)
Well, were there any bugs in the testnet?
Has the testnet even been tested?
properties (22)
authorluegenbaron
permlinkluegenbaron-re-isnochys-q073ne-20191031t094429359z
categorysmt
json_metadata{"app":"partiko","client":"android"}
created2019-10-31 09:44:30
last_update2019-10-31 09:44:57
depth4
children0
last_payout2019-11-07 09:44:30
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_length75
author_reputation27,465,249,085,978
root_title"Initial Coin Offerings with SMTs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id92,067,575
net_rshares0