Skip to content

Instantly share code, notes, and snippets.

View AdamSLevy's full-sized avatar

Adam S Levy AdamSLevy

View GitHub Profile
#!/bin/python
from netifaces import AF_INET
import netifaces as ni
def _aws():
grains = {'aws': {}}
ipAddr = ni.ifaddresses('eth0')[AF_INET][0]['addr'].split('.')
az = 'us-west-'
//////////////////////// Copyright 2017 Factom Foundation
//////////////////////// Use of this source code is governed by the MIT
//////////////////////// license that can be found in the LICENSE file.
Arguments
&{AckbalanceHash:true EnableNet:true WaitEntries:false ListenTo:0 Cnt:1 Net:tree Fnet: DropRate:0 Journal: Journaling:false Follower:false Leader:true Db: CloneDB: PortOverride:0 Peers: NetworkName: NetworkPortOverride:0 ControlPanelPortOverride:0 LogPort:6060 BlkTime:0 FaultTimeout:0 RuntimeLog:false Exclusive:false ExclusiveIn:true Prefix: Rotate:false TimeOffset:0 KeepMismatch:false StartDelay:10 Deadline:1000 CustomNet:[227 176 196 66] RpcUser: RpcPassword: FactomdTLS:false FactomdLocations: MemProfileRate:524288 Fast:true FastLocation: Loglvl:debug Logjson:false Svm:false PluginPath: TorManage:false TorUpload:false Sim_Stdin:false ExposeProfiling:false UseLogstash:false LogstashURL:localhost:8345 Sync2:-1 DebugConsole: StdoutLog: StderrLog: DebugLogRegEx: ConfigPath:}
Go compiler version: go1.10
//////////////////////// Copyright 2017 Factom Foundation
//////////////////////// Use of this source code is governed by the MIT
//////////////////////// license that can be found in the LICENSE file.
Arguments
&{AckbalanceHash:true EnableNet:true WaitEntries:false ListenTo:0 Cnt:1 Net:tree Fnet: DropRate:0 Journal: Journaling:false Follower:false Leader:true Db: CloneDB: PortOverride:0 Peers: NetworkName: NetworkPortOverride:0 ControlPanelPortOverride:0 LogPort:6060 BlkTime:0 FaultTimeout:0 RuntimeLog:false Exclusive:false ExclusiveIn:true Prefix: Rotate:false TimeOffset:0 KeepMismatch:false StartDelay:10 Deadline:1000 CustomNet:[227 176 196 66] RpcUser: RpcPassword: FactomdTLS:false FactomdLocations: MemProfileRate:524288 Fast:true FastLocation: Loglvl:debug Logjson:false Svm:false PluginPath: TorManage:false TorUpload:false Sim_Stdin:false ExposeProfiling:false UseLogstash:false LogstashURL:localhost:8345 Sync2:-1 DebugConsole: StdoutLog: StderrLog: DebugLogRegEx: ConfigPath:}
Go compiler version: go1.10
-- The start-up result is RESULT.
May 02 16:54:16 node2.entrycredits.io factomd[32089]: //////////////////////// Copyright 2017 Factom Foundation
May 02 16:54:16 node2.entrycredits.io factomd[32089]: //////////////////////// Use of this source code is governed by the MIT
May 02 16:54:16 node2.entrycredits.io factomd[32089]: //////////////////////// license that can be found in the LICENSE file.
May 02 16:54:16 node2.entrycredits.io factomd[32089]: Arguments
May 02 16:54:16 node2.entrycredits.io factomd[32089]: &{AckbalanceHash:true EnableNet:true WaitEntries:false ListenTo:0 Cnt:1 Net:tree Fnet: DropRate:0 Journal: Journaling:false Follower:false Leader:true Db: CloneDB: PortOverride:0 Peers: NetworkName: NetworkPortOverride:0 ControlPanelPortOverride:0 LogPort:6060 BlkTime:0 FaultTimeout:0 RuntimeLog:false Exclusive:false ExclusiveIn:true Prefix: Rotate:false TimeOffset:0 KeepMismatch:false StartDelay:10 Deadline:1000 CustomNet:[227 176 196 66] RpcUser: RpcPassword: FactomdTLS:false FactomdLocations: MemPro
-- The start-up result is RESULT.
May 02 16:30:10 node2.entrycredits.io factomd[3721]: //////////////////////// Copyright 2017 Factom Foundation
May 02 16:30:10 node2.entrycredits.io factomd[3721]: //////////////////////// Use of this source code is governed by the MIT
May 02 16:30:10 node2.entrycredits.io factomd[3721]: //////////////////////// license that can be found in the LICENSE file.
May 02 16:30:10 node2.entrycredits.io factomd[3721]: Arguments
May 02 16:30:10 node2.entrycredits.io factomd[3721]: &{AckbalanceHash:true EnableNet:true WaitEntries:false ListenTo:0 Cnt:1 Net:tree Fnet: DropRate:0 Journal: Journaling:false Follower:false Leader:true Db: CloneDB: PortOverride:0 Peers: NetworkName: NetworkPortOverride:0 ControlPanelPortOverride:0 LogPort:6060 BlkTime:0 FaultTimeout:0 RuntimeLog:false Exclusive:false ExclusiveIn:true Prefix: Rotate:false TimeOffset:0 KeepMismatch:false StartDelay:10 Deadline:1000 CustomNet:[227 176 196 66] RpcUser: RpcPassword: FactomdTLS:false FactomdLocations: MemProfileR
-- The start-up result is RESULT.
May 02 16:11:23 node2.entrycredits.io factomd[25521]: //////////////////////// Copyright 2017 Factom Foundation
May 02 16:11:23 node2.entrycredits.io factomd[25521]: //////////////////////// Use of this source code is governed by the MIT
May 02 16:11:23 node2.entrycredits.io factomd[25521]: //////////////////////// license that can be found in the LICENSE file.
May 02 16:11:23 node2.entrycredits.io factomd[25521]: Arguments
May 02 16:11:23 node2.entrycredits.io factomd[25521]: &{AckbalanceHash:true EnableNet:true WaitEntries:false ListenTo:0 Cnt:1 Net:tree Fnet: DropRate:0 Journal: Journaling:false Follower:false Leader:true Db: CloneDB: PortOverride:0 Peers: NetworkName: NetworkPortOverride:0 ControlPanelPortOverride:0 LogPort:6060 BlkTime:0 FaultTimeout:0 RuntimeLog:false Exclusive:false ExclusiveIn:true Prefix: Rotate:false TimeOffset:0 KeepMismatch:false StartDelay:10 Deadline:1000 CustomNet:[227 176 196 66] RpcUser: RpcPassword: FactomdTLS:false FactomdLocations: MemPro
-- The start-up result is RESULT.
May 02 15:58:35 node2.entrycredits.io factomd[18747]: //////////////////////// Copyright 2017 Factom Foundation
May 02 15:58:35 node2.entrycredits.io factomd[18747]: //////////////////////// Use of this source code is governed by the MIT
May 02 15:58:35 node2.entrycredits.io factomd[18747]: //////////////////////// license that can be found in the LICENSE file.
May 02 15:58:35 node2.entrycredits.io factomd[18747]: Arguments
May 02 15:58:35 node2.entrycredits.io factomd[18747]: &{AckbalanceHash:true EnableNet:true WaitEntries:false ListenTo:0 Cnt:1 Net:tree Fnet: DropRate:0 Journal: Journaling:false Follower:false Leader:true Db: CloneDB: PortOverride:0 Peers: NetworkName: NetworkPortOverride:0 ControlPanelPortOverride:0 LogPort:6060 BlkTime:0 FaultTimeout:0 RuntimeLog:false Exclusive:false ExclusiveIn:true Prefix: Rotate:false TimeOffset:0 KeepMismatch:false StartDelay:10 Deadline:1000 CustomNet:[227 176 196 66] RpcUser: RpcPassword: FactomdTLS:false FactomdLocations: MemPro
May 02 15:42:18 node2.entrycredits.io factomd[998]: goroutine 27 [running]:
May 02 15:42:18 node2.entrycredits.io factomd[998]: github.com/FactomProject/factomd/p2p.(*Peer).LocationFromAddress(0xc420033980, 0x15)
May 02 15:42:18 node2.entrycredits.io factomd[998]: /home/aslevy/repos/pkgbuilds/factomd/src/src/github.com/FactomProject/factomd/p2p/peer.go:141 +0x489
May 02 15:42:18 node2.entrycredits.io factomd[998]: github.com/FactomProject/factomd/p2p.(*Peer).Init(0xc420033980, 0xc420130c9b, 0x15, 0xc420130cb1, 0x4, 0x100000000, 0x0, 0x0)
May 02 15:42:18 node2.entrycredits.io factomd[998]: /home/aslevy/repos/pkgbuilds/factomd/src/src/github.com/FactomProject/factomd/p2p/peer.go:65 +0x333
May 02 15:42:18 node2.entrycredits.io factomd[998]: github.com/FactomProject/factomd/p2p.(*Controller).parseSpecialPeers(0xc420214580, 0xc420130c80, 0x35, 0x1, 0x44bea8, 0xa589f30ee369, 0x800000000e906048)
May 02 15:42:18 node2.entrycredits.io factomd[998]: /home/aslevy/repos/pkgbuilds/factomd/src/src/g
[
{
"id": 2,
"priority": 10,
"name": "Reference Handler",
"cpuTime": 8541577749,
"userTime": 280000000,
"lockInfo": {
"className": "java.lang.ref.Reference$Lock",
"identityHashCode": 1471579584
[{"id":2,"priority":10,"name":"Reference Handler","cpuTime":8541577749,"userTime":280000000,"lockInfo":{"className":"java.lang.ref.Reference$Lock","identityHashCode":1471579584},"lockOwnerId":-1,"lockOwnerName":null,"location":[{"methodName":"wait","fileName":"Object.java","lineNumber":-2,"className":"java.lang.Object","nativeMethod":true},{"methodName":"wait","fileName":"Object.java","lineNumber":502,"className":"java.lang.Object","nativeMethod":false},{"methodName":"tryHandlePending","fileName":"Reference.java","lineNumber":191,"className":"java.lang.ref.Reference","nativeMethod":false},{"methodName":"run","fileName":"Reference.java","lineNumber":153,"className":"java.lang.ref.Reference$ReferenceHandler","nativeMethod":false}],"state":"WAITING"},{"id":3,"priority":8,"name":"Finalizer","cpuTime":140326936,"userTime":120000000,"lockInfo":{"className":"java.lang.ref.ReferenceQueue$Lock","identityHashCode":1232066754},"lockOwnerId":-1,"lockOwnerName":null,"location":[{"methodName":"wait","fileName":"Object.java