Skip to content

Instantly share code, notes, and snippets.

@t3ran13
t3ran13 / fork logs golos
Last active April 15, 2018 10:53
fork logs golos
```
2721410ms p2p_plugin.cpp:143 handle_block ] Got 3 transactions on block 15598503 by lehard -- latency: 410 ms
2724252ms p2p_plugin.cpp:143 handle_block ] Got 1 transactions on block 15598504 by aleksandraz -- latency: 252 ms
2727410ms p2p_plugin.cpp:143 handle_block ] Got 1 transactions on block 15598505 by vik -- latency: 410 ms
2730777ms p2p_plugin.cpp:143 handle_block ] Got 4 transactions on block 15598506 by bla11 -- latency: 777 ms
2733657ms p2p_plugin.cpp:143 handle_block ] Got 2 transactions on block 15598507 by ropox -- latency: 657 ms
2736413ms p2p_plugin.cpp:143 handle_block ] Got 4 transactions on block 15598508 by testz -- latency: 413 ms
2739658ms p2p_plugin.cpp:143 handle_block ] Got 3 transactions on block 15598509 by dmilash -- latency: 658 ms
2742465ms p2p_plugin.cpp:143
@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
@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 / 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;
}