Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
Fixup the launch time calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
abourget committed May 22, 2018
1 parent 2d58ef1 commit 1e08612
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,15 @@ TODO
* Create the `b1` account before setting the `eosio.system` contract ?

* How will we call `setprods` if it's not in `eosio.bios` anymore ? (!!)
* Added to eosio.system

* Don't download IPFS refs, unless it was voted on by the top X..
* Anyone can block the flow right now, otherwise..

* Add a "participate" contract publishing.. so we consider for meshing only those who are
actively running "orchestrate".

* FIX THE REVERSE target block launch number thing..

Desired output for network:

Expand All @@ -313,3 +321,11 @@ Contents disagreements:
* eosmarc, eoscanadacom, eospouet says 1: /ipfs/Qmakjdsflakjdslfkjaldsfk
* eosmama says 2: /ipfs/Qmhellkajdlakjdsflkj
```


Things that need testing upon launch
------------------------------------

* Test the eosio.msig machinery, a bunch of BPs need to be able to pass in a proposed
transaction.
* Cross validae the b1 vesting schedule.
5 changes: 2 additions & 3 deletions bios/bios.go
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ func (b *BIOS) validateTargetNetwork(bootSeqMap ActionMap, bootSeq []*eos.Action
})
return err
}
act.SetToServer(false)
key := sha2(data) // TODO: compute a hash here..

b.Log.Printf("- Validating action %d/%d [%s::%s]", actionsRead+1, expectedActionCount, act.Account, act.Name)
Expand Down Expand Up @@ -623,8 +622,8 @@ func (b *BIOS) waitLaunchBlock() rand.Source {
b.Log.Println(err.Error())
}

if launchTime.Before(time.Now()) {
b.Log.Printf("- not yet, %s to go\n", time.Now().Sub(launchTime))
if launchTime.After(time.Now()) {
b.Log.Printf("- not yet, %s to go\n", launchTime.Sub(time.Now()))
time.Sleep(time.Second)
continue
}
Expand Down

0 comments on commit 1e08612

Please sign in to comment.