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
{ | |
"statusCode": 200, | |
"message": { | |
"tx": { | |
"block_height": -1, | |
"block_index": -1, | |
"hash": "7877c5fc288a5984832d111724ac0ad35bc1a5c633f1e0a611342a2c27cb8fe5", | |
"addresses": [ | |
"1KPPDJzqNi1XgUjZi3ESRDEagRLnTyEn7t", | |
"1BTNjcBniDy1MpBZvpBc1JWQg8B4wQeGcJ" |
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
{ | |
"statusCode": 200, | |
"message": { | |
"tx": { | |
"block_height": -1, | |
"block_index": -1, | |
"hash": "461cd90e47bef13b806e769057df8b474ba56d7ddd26386c795d2c2cd902b381", | |
"addresses": [ | |
"1P4A58A3EpuYPvH6gvp94fL7A6YVjnwoU5", | |
"17u8seFNUxiEpxBs3dKwghV4iuJThdyS4B" |
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
version: '2' | |
services: | |
wordpress: | |
image: wordpress:latest | |
volumes: | |
- ./src/public_html:/var/www/html | |
ports: | |
- "8000:80" | |
links: |
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
version: '2' | |
services: | |
wordpress: | |
image: wordpress:4.8.0-php7.0-apache | |
volumes: | |
- ./src/public_html:/var/www/html | |
ports: | |
- "8000:80" | |
links: |
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
For mining software developers | |
Stratum protocol is based on JSON-RPC 2.0. In this chapter I expect that you're familiar with this protocol and you understand terms like "request", "response" and "notification". Please read JSON-RPC specification for more details. | |
For high level image of the Stratum protocol concept, please read Stratum protocol specification on Google docs. This document needs some care, but give you the basic examples how to connect to Stratum server. | |
Exception handling | |
Stratum defines simple exception handling. Example of rejected share looks like: | |
{"id": 10, "result": null, "error": (21, "Job not found", null)} |
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
01000000 ................................... Version | |
01 ......................................... Number of inputs | |
| | |
| 7b1eabe0209b1fe794124575ef807057 | |
| c77ada2138ae4fa8d6c4de0398a14f3f ......... Outpoint TXID | |
| 00000000 ................................. Outpoint index number | |
| | |
| 49 ....................................... Bytes in sig. script: 73 | |
| | 48 ..................................... Push 72 bytes as data |
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
#!/bin/bash | |
# Stop all containers | |
docker stop $(docker ps -a -q) | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
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
You can use more utility function like ethescan.io, this is example if u want to access via blockchain.info | |
- Transaction | |
https://api.blockchain.info/eth/tx/0xbf3a7843ee33b1382389ea7cf433ff23ad0b09f47a1a9ca8190cf763ea6bc270 | |
- Address | |
https://api.blockchain.info/eth/account/0x2F1659415Ff18dBa7734769aEAA60d961623dc0a/balance | |
- Multiple Address | |
https://api.blockchain.info/eth/account/0x2F1659415Ff18dBa7734769aEAA60d961623dc0a,0xBbeE3a75CFe673d5B4d292AD6FE6d0e27Aa3f28E/balance |
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
Job Hiring | |
—————————————— | |
Front End Developer | |
[ที่อยู่ เมือง รหัสไปรษณีย์] [โทรศัพท์] [ที่อยู่อีเมล] | |
Responsibilities | |
- Develop front end part by coordinating with Backend and Testing teams. | |
- Develop web applications for cryptocurrency such as Bitcoin, Ethereum | |
Qualifications |
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
import ecdsa | |
import ecdsa.der | |
import ecdsa.util | |
import hashlib | |
import os | |
import re | |
import struct | |
b58 = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz' |
OlderNewer