Skip to content

Instantly share code, notes, and snippets.

View kianenigma's full-sized avatar
🦀

Kian Paimani kianenigma

🦀
View GitHub Profile
@kianenigma
kianenigma / polkadot-refund.txt
Last active November 25, 2020 11:57
polkadot-refund
who,role,identity,effective_slash_planck,effective_slash_token
1WG3jyNqniQMRZGQUc7QD2kVLT8hkRPGMSqAb5XYQM1UDxN,RunnerUp,DokiaCapital,1252580000000,1.2525 DOT (old)
1dGsgLgFez7gt5WjX2FYzNCJtaCjGG6W9dA42d9cHngDYGg,RunnerUp,0x447261676f6e5374616b6520f09f90b2,1607240000000,1.6072 DOT (old)
1hJdgnAPSjfuHZFHzcorPnFvekSHihK9jdNPWHXgeuL7zaJ,RunnerUp,Listen,1252580000000,1.2525 DOT (old)
1rwgen2jqJNNg7DpUA4jBvMjyepgiFKLLm3Bwt8pKQYP8Xf,RunnerUp,Chevdor,1252580000000,1.2525 DOT (old)
12Vv2LsLCvPKiXdoVGa3QSs2FMF8zx2c8CPTWwLAwfYSFVS1,RunnerUp,Polkascan Foundation,4252580000000,4.2525 DOT (old)
12mP4sjCfKbDyMRAEyLpkeHeoYtS5USY4x34n9NMwQrcEyoh,Members,polkaworld,1202580000000,1.2025 DOT (old)
13pdp6ALhYkfEBqBM98ztL2Xhv4MTkm9rZ9vyjyXSdirJHx6,RunnerUp,Cryptium Labs,2806820000000,2.8068 DOT (old)
15akrup6APpRegG1TtWkYVuWHYc37tJ8XPN61vCuHQUi65Mx,RunnerUp,akru,1407820000000,1.4078 DOT (old)
12Y8b4C9ar162cBgycxYgxxHG7cLVs8gre9Y5xeMjW3izqer,Members,Acala Foundation,1202910000000,1.2029 DOT (old)
@kianenigma
kianenigma / Razer Blade Stealth 13 2019 - Linux Mint Installation
Created March 10, 2019 20:51
Notes on multiple attempts to install Linux Mint 19 on Razer Blade Stealth 2019
Dual booted with windown boot laoder via:
- 100GB / root exe4 journal file system
- 16GB Swap (might be too much --only used over heavy load)
Initial system had the following (annoying issues) + Fixes
- No drivers work properly: Mouse is laggy + wifi is super slow
- Update the kernel immediately
#1 ["Polkadot.pro - Realgar"] - 127a30e486492921e58f2564b36ab1ca21ff630672f0e76920edd601f8f2b89a (CzYgH6Yr...)
#2 ["NO_IDENT"] - 17b7295b2d66adadef5746c793b746bd2443e1da913636625ba95c7ff853bf22 (D7R2fREf...)
#3 ["NO_IDENT"] - 2c2a55b5c69b5e131fb0f65ac7ca707f4bc53e4d991a2d1971ab5e702f69f45c (DaECbfXq...)
#4 ["NO_IDENT"] - aee72821ca00e62304e4f0d858122a65b87c8df4f0eae224ae064b951d39f610 (GXeWyYpL...)
#5 ["WEB3ITALYDOT"] - eee9d5d071a418b51c02b456d5f5cefd6231041ad59b0e8379c59c11ba4a2439 (HyaNsYuW...)
#6 ["NO_IDENT"] - 98b995d8a902881fcb8891ebe35d50318453a0fd745232ff11e8cbcd5b11b700 (G2ZvhQZw...)
#7 ["NO_IDENT"] - c08d5de7a5d97bea2c7ddf516d0635bddc43f326ae2f80e2595b49d4a08c4619 (GvnhvTuQ...)
#8 ["NO_IDENT"] - 3af8b075de8a04f234f06c62ab44ef258be19bce462385f9d03c1244dab2734e (DueAtLnk...)
#9 ["Staker Space"] - f0de782e8bad3c663be60812f0a2ac63464f5da3ec448c73334c07d71ef27f2c (J296bjVR...)
#10 ["NO_IDENT"] - 38c95b31fe81ba229b2e2216f0bf6812ca45dc3ad5c49e15b48e0eef5555bf40 (Drn1oSve...)
@kianenigma
kianenigma / gist:6f6cb94f0624fb10911348640da34267
Last active June 17, 2020 14:31
Dump of dangling nominators on Kusama, June 17th 2020
[2020-06-17T14:13:16Z INFO offline_phragmen] total_issuance = 9362701,351KSM (9,362,701,351,556,641,850)
[2020-06-17T14:13:16Z INFO offline_phragmen] connected to [wss://kusama-rpc.polkadot.io]
[2020-06-17T14:13:16Z INFO offline_phragmen] at [0x74dd…8ca0]
[2020-06-17T14:13:18Z DEBUG offline_phragmen::subcommands::dangling_nominators] [0/1235] Nominator 102cda735370293bce834ff3c7a6a6ae73767725906434403836f8e61ee5db56 (5CRuwumC...) Ok. Retaining all 16 votes.
[2020-06-17T14:13:19Z DEBUG offline_phragmen::subcommands::dangling_nominators] [1/1235] Nominator e57b16b0210195cdea03ba37940ddc215e74f5f53a3efbb8b36ea39021aa56a9 (5HFbPSXt...) Ok. Retaining all 16 votes.
[2020-06-17T14:13:20Z DEBUG offline_phragmen::subcommands::dangling_nominators] [2/1235] Nominator 3c4c4c6d63e1428b8450773a851ad4d3eb76c2f5a4fa1722b5d84cf54cf6ba56 (5DRmPuCf...) Ok. Retaining all 16 votes.
[2020-06-17T14:13:21Z DEBUG offline_phragmen::subcommands::dangling_nominators] [3/1235] Nominator a6ff2197e260745daf5ae4c9f73ec52ddb19dd9d9f4a3178
[🤑][Era 863, block 2570013] Submit election solution with score [12488167277027543, 5535955046686416541, 117889898560723930956941881572521535] // Event = "ExtrinsicSuccess"
[🤑][Era 862, block 2566456] Submit election solution with score [12488167277027543, 5532215379933046597, 117826654925713863823779834925522355] // Event = "ExtrinsicSuccess"
[✅ // [0.00000% ,0.00000% ,0.09834% ,]][Era 862, block 2566461] Submit election solution with score [12488167277027543, 5532215379933046597, 117710893888984556173809419900174065] // Event = "ExtrinsicSuccess"
[🤑][Era 861, block 2562902] Submit election solution with score [12488167277027543, 5559266368032409496, 118749283262079244270992278287436446] // Event = "ExtrinsicSuccess"
[✅ // [0.00000% ,0.00000% ,0.04090% ,]][Era 861, block 2562924] Submit election solution with score [12488167277027543, 5559266368032409496, 118700736389524721358337889258988054] // Event = "ExtrinsicSuccess"
[🤑][Era 860, block 2559355] Submit election solution with score [12488167277027543, 555
[🤑][Era 832, block 2459331] Submit election solution with score [16500990000000000, 5451745585255556702, 121988327374654936401385614129377354] // Event = Event::system(RawEvent::ExtrinsicSuccess(DispatchInfo { weight: 100000000000, class: DispatchClass::Normal, pays_fee: Pays::Yes }))
[✅][Era 832, block 2459336] Submit election solution with score [16500990000000000, 5451745585255556702, 121928348238755152494872377607573740] // Event = Event::system(RawEvent::ExtrinsicSuccess(DispatchInfo { weight: 100000000000, class: DispatchClass::Normal, pays_fee: Pays::Yes }))
[🤑][Era 831, block 2455752] Submit election solution with score [16500990000000000, 5457922662903153046, 122516317281139247930906780823341868] // Event = Event::system(RawEvent::ExtrinsicSuccess(DispatchInfo { weight: 100000000000, class: DispatchClass::Normal, pays_fee: Pays::Yes }))
[🤑][Era 830, block 2452163] Submit election solution with score [15916084254215304, 5439474364711962868, 121522850471876681634293188216488588] // Event = Event::syste
const express = require('express')
const XYZ = require('xyz-core')
const app = express()
const EXPRES_PORT = 4001
// setup xyz
const front = new XYZ({
selfConf: {
name: 'front.ms',
// client.js log
task/io response: null written
task/cpu response: null 9.33262154439441e+155
task/cpu response: null 9.33262154439441e+155
task/cpu response: null 9.33262154439441e+155
task/cpu response: null 9.33262154439441e+155
task/cpu response: null 9.33262154439441e+155
// worker.js log
[2017-4-2 16:33:6][worker.ms@127.0.0.1:6000] info :: JOIN PING ACCEPTED. response : {"services":{"":{}},"nodes":["127.0.0.1:5000"],"transportServers":{"5000":["CALL","PING"]}}
[2017-4-2 16:33:6][worker.ms@127.0.0.1:6000] info :: A new node {127.0.0.1:5000} added to systemConf
[2017-4-2 16:33:6][worker.ms@127.0.0.1:6000] info :: SR :: System Configuration changed new values: {"nodes":["127.0.0.1:6000","127.0.0.1:5000"]}
// client.js log
[2017-4-2 16:33:6][client.ms@127.0.0.1:5000] info :: A new node {127.0.0.1:6000} added to systemConf
[2017-4-2 16:33:6][client.ms@127.0.0.1:5000] info :: SR :: System Configuration changed new values: {"nodes":["127.0.0.1:5000","127.0.0.1:6000"]}
const XYZ = require('xyz-core')
let ms = new XYZ({
selfConf: {
name: 'client.ms',
transport: [{type: 'HTTP', port: 5000}],
host: '127.0.0.1'
}