Published
Edited
Oct 22, 2020
Insert cell
Insert cell
miner = 't08399'
Insert cell
Insert cell
Insert cell
partitions = (await client.StateMinerPartitions(miner, 0, head.Cids))
Insert cell
partition0 = (await client.StateMinerPartitions(miner, 0, head.Cids))[0]
Insert cell
decodeRLE3(partition0.AllSectors)
Insert cell
decodeRLE3(partition0.ActiveSectors)
Insert cell
Insert cell
deadlines = (await client.chainGetNode(`${state}/1/@Ha:${miner}/1/12`)).Obj[0]
Insert cell
partition = (await client.chainGetNode(deadlines[0]['/'])).Obj[0]
Insert cell
(await client.chainGetNode(partition['/']))
Insert cell
list = (await client.chainGetNode(partition['/'])).Obj[2][2]
Insert cell
Insert cell
pObj = Fil.methods.decode(partitionSchema, list[0])
Insert cell
decodeRLE2(pObj.Sectors)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more