Skip to content

Instantly share code, notes, and snippets.

View arvenil's full-sized avatar
💻
Looking for project

Kamil Dziedzic arvenil

💻
Looking for project
View GitHub Profile
@arvenil
arvenil / BlockPropagation.md
Created December 21, 2016 18:03 — forked from gavinandresen/BlockPropagation.md
O(1) block propagation

O(1) Block Propagation

The problem

Bitcoin miners want their newly-found blocks to propagate across the network as quickly as possible, because every millisecond of delay increases the chances that another block, found at about the same time, wins the "block race."

@arvenil
arvenil / vercmps.sh
Last active August 29, 2015 14:04 — forked from livibetter/vercmp.sh
Fix for "08: value too great for base", works for versions with numbers only (no letters, no rc suffixes)
#!/bin/bash
# Copyright (c) 2012 Yu-Jie Lin
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
# of the Software, and to permit persons to whom the Software is furnished to do
# so, subject to the following conditions:
#