Skip to content

Instantly share code, notes, and snippets.

@t3ran13
t3ran13 / Test.php
Created December 12, 2018 09:49
PHP: Array collection VS Class Collection
<?php
class User
{
protected $name;
public function __construct($name)
{
$this->name = $name;
}
@t3ran13
t3ran13 / 2 miners and fork fo golos
Created April 17, 2018 08:59
2 miners and fork fo golos
golosd_1 | 3495150ms th_0 witness.cpp:502 on_applied_block ] hash rate: 0 hps target: 0000000000080000000000000000000000000000000000000000000000000000 queue: 172 estimated time to produce: 0 minutes
golosd_1 | 3495150ms p2p_plugin.cpp:143 handle_block ] Got 9 transactions on block 15653787 by bla2 -- latency: 150 ms
golosd_1 | 3498185ms th_0 witness.cpp:502 on_applied_block ] hash rate: 0 hps target: 0000000000080000000000000000000000000000000000000000000000000000 queue: 172 estimated time to produce: 0 minutes
golosd_1 | 3498186ms p2p_plugin.cpp:143 handle_block ] Got 3 transactions on block 15653788 by dr2073 -- latency: 186 ms
golosd_1 | 3501234ms th_0 witness.cpp:502 on_applied_block ] hash rate: 0 hps target: 0000000000080000000000000000000000000000000000000000000000000000 queue: 172 estimated time to produce: 0 minutes
golosd_1 | 3501234ms p2p_plugin.cpp
@t3ran13
t3ran13 / start golos node
Created April 16, 2018 08:23
start golos node
golosd_1 |
golosd_1 | STARTING GOLOS NETWORK
golosd_1 |
golosd_1 | ------------------------------------------------------
golosd_1 | initminer public key: GLS7KVuKX87DK44xmhAD92hqJeR8Acd1TBKCtVnGLC5VDpER5CtWE
golosd_1 | chain id: 782a3039b478c839e4cb0c941ff4eaeb7df40bdd68bd441afd444b9da763de12
golosd_1 | blockchain version: 0.17.2
golosd_1 | ------------------------------------------------------
golosd_1 | 1268758ms th_0 main.cpp:133 main ] Error parsing logging config
golosd_1 | 1268758ms th_0 plugin.cpp:386 plugin_startup ] json_rpc plugin: plugin_startup() begin