Skip to content

Instantly share code, notes, and snippets.

View tommling's full-sized avatar
🎯
Focusing

Thomas Veale tommling

🎯
Focusing
  • Hong Kong, Hong Kong
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tommling on github.
  • I am tneat (https://keybase.io/tneat) on keybase.
  • I have a public key ASA5Z0xySjyCYmb81gdwHmhBTOW60qc2IDH6PQnNCsyNdQo

To claim this, I am signing this object:

@tommling
tommling / keybase.md
Last active October 4, 2019 07:00
proof

tneat Tom Veale

Keybase proof

I hereby claim:

  • I am tommling on github.
  • I am tneat (https://keybase.io/tneat) on keybase.
  • I have a public key ASA5Z0xySjyCYmb81gdwHmhBTOW60qc2IDH6PQnNCsyNdQo
tneat
Tom Veale
### Keybase proof
I hereby claim:
* I am tommling on github.
* I am tneat (https://keybase.io/tneat) on keybase.
* I have a public key ASA5Z0xySjyCYmb81gdwHmhBTOW60qc2IDH6PQnNCsyNdQo
""" Message Queue Stuff """
MQ_PROTOCOL = os.environ.get('MQ_PROTOCOL', 'amqp')
MQ_USER = os.environ.get(
'MQ_USER', 'makecents')
MQ_PASS = os.environ.get(
'MQ_PASS', 'makecents')
MQ_HOST = os.environ.get('MQ_HOST', 'localhost')
MQ_PORT = os.environ.get('MQ_PORT', '5672')
def validator_stake_amount_is_low(self,
validator_info,
block_number,
state_view):
"""
:param validator_info:
:param block_number:
:param state_view:
:return:
# Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,