Skip to content

Instantly share code, notes, and snippets.

View xeroc's full-sized avatar
🏠
building

Fabian Schuh xeroc

🏠
building
View GitHub Profile
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/xeroc/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# https://thoughtbot.com/blog/migrating-from-screen-to-tmux
# https://github.com/sbernheim4/dotfiles/blob/master/.tmux.conf
set-option -g default-shell $SHELL
unbind C-b
# Set the prefix to `ctrl + a` instead of `ctrl + b`
set -g prefix C-a
--- !!omap
- out_manifest: '42f0bd8f21eb18c09d0d64b87da12c560de67d0cdfc2017115e89bc24aa46c90 bitshares-core-3.1.0-linux-amd64-bin.tar.bz2
'
- in_manifest: |-
37091c302c1a00b96f36569f33075b465212239a44d60caf1ba571e849fbce72 bithares-core-linux-desc.yml
d6689089d74cd7036f8b81a3f14798f407f5f43aac87aa4f19201208091a8c3a supplement.tar.gz
git:e3d1226e30cbd1e2b081642ad04aa7e2f27ac1af bitshares
- base_manifests: !!omap
- bionic-amd64: |
I would like to request that the email for `xeroc` on bitcointalk.org account is reset to `mail@xeroc.org`.
Thank you
def pushtx(tx):
import re
import json
if not re.match('^[0-9a-fA-F]*$', tx):
tx = tx.encode('hex')
req = requests.post('https://blockchain.info/pushtx?tx={}'.format(tx))
print("Server: {}".format(req.text))
def pushtx(tx):
if not re.match('^[0-9a-fA-F]*$', tx):
tx = tx.encode('hex')
req = requests.get('https://blockchain.info/pushtx?tx={}'.format(tx))
assert req.status_code == 200
return req.text
[ 0] fee price for transfer differs by 12.353x (network: 0.0065 USD / proposal: 0.0800 USD)
[ 0] price_per_kbyte price for transfer differs by 2.779x (network: 0.0036 USD / proposal: 0.0100 USD)
[ 1] fee price for limit_order_create differs by 83.508x (network: 0.0004 USD / proposal: 0.0300 USD)
[ 2] fee price for limit_order_cancel differs by 84.680x (network: 0.0000 USD / proposal: 0.0030 USD)
[ 3] fee price for call_order_update differs by 139.180x (network: 0.0004 USD / proposal: 0.0500 USD)
[ 5] basic_fee price for account_create differs by 6.948x (network: 0.0360 USD / proposal: 0.2500 USD)
[ 5] premium_fee price for account_create differs by 1.668x (net
import requests
from pprint import pprint
url = "http://206.189.110.191:9880"
x = {
"method": "call",
"params": [0,
"get_transaction_hex",
[{"ref_block_num": 34294,
from bitshares import BitShares
from bitshares.account import Account
bts = BitShares("wss://node.bitshares.eu")
account = Account("xeroc", blockchain_instance=bts)
print(account.balances)

Python Library for Graphene