cleos get abi eosio.unregd
{
"version": "eosio::abi/1.0",
"types": [{
"new_type_name": "ethereum_address",
"type": "string"
}
],
"structs": [{
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def sort_dict(dict_words): | |
""" | |
字典排序 | |
:param dict_words: | |
:return: | |
""" | |
keys = dict_words.keys() | |
values = dict_words.values() | |
list_one = [(key, val) for key, val in zip(keys, values)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
timeout = 60 | |
index-url = https://pypi.doubanio.com/simple |
cleos get abi eosio.msig
{
"version": "eosio::abi/1.0",
"types": [{
"new_type_name": "account_name",
"type": "name"
},{
"new_type_name": "permission_name",
"type": "name"
cleos get abi eosio.token
{
"version": "eosio::abi/1.0",
"types": [{
"new_type_name": "account_name",
"type": "name"
}
],
"structs": [{
cleos get abi eosio
{
"version": "eosio::abi/1.0",
"types": [{
"new_type_name": "account_name",
"type": "name"
},{
"new_type_name": "permission_name",
FROM ubuntu:16.04
MAINTAINER muser
RUN dpkg --add-architecture i386
RUN sed -i 's/archive.ubuntu.com/mirrors.163.com/g' /etc/apt/sources.list
RUN sed -i 's/security.ubuntu.com/mirrors.163.com/g' /etc/apt/sources.list
RUN apt update
RUN apt install build-essential -y
ccminer$ git diff
diff --git a/Makefile.am b/Makefile.am
index edaad61..1b1b05b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -96,9 +96,9 @@ if HAVE_WINDOWS
ccminer_SOURCES += compat/winansi.c
endif
#!/usr/bin/env python3
# coding:utf-8
from pymongo import MongoClient
conn = MongoClient('127.0.0.1', 27017)
db = conn.eosdb
eosset = db.eosset
# coding:utf-8
import cv2
img = cv2.imread(p)
img.dtype = 'uint8'
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
img.tofile(p + '.bin')
cv2.imwrite(p + '.jpg', img)
NewerOlder