Guest User

Untitled

a guest
Feb 18th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. HEAD=`go-filecoin show block $(go-filecoin chain head | jq .[0]['"/"'] | tr -d \") | sed -n 's/Height: //p'`
  4. go-filecoin client list-asks --enc=json | jq -C -s "map(select(.Expiry > $HEAD) | {Miner,ID, Price: .Price | tonumber, Expiry}) | sort_by(.Price) | reverse"
Add Comment
Please, Sign In to add comment