dogecoin-api

How do I format a websocket request?

跟風遠走 提交于 2020-01-02 08:08:48
问题 I'm trying to create an application in Python that powers a GPIO port when the balance of a Dogecoin address changes. I'm using the websocket API here and this websocket client. My code looks like this: from websocket import create_connection ws = create_connection("wss://ws.dogechain.info/inv") ws.send("op":"addr_sub", "addr":"dogecoin_address") result = ws.recv() print (result) ws.close() It's obviously not the final code, but I just wanted to see if I'm even able to connect to the

Changing OpenSSL include path for qmake

天大地大妈咪最大 提交于 2019-12-17 21:15:20
问题 I want to build Dogecoin with qmake. It doesn't work with Fedora's OpenSSL because its OpenSSL doesn't have elliptic curve cryptography included. So I've got my own OpenSSL but I can't figure out how to change the dogecoin-qt.pro file to include an OpenSSL from a different location. Normally with make I would do this: $ export OPENSSL_INCLUDE_PATH="/usr/local/ssl/include" $ export OPENSSL_LIB_PATH="/usr/local/ssl/lib" qmake seems different, the file I need to change is here: https://github

How do I format a websocket request?

落爺英雄遲暮 提交于 2019-12-05 18:57:30
I'm trying to create an application in Python that powers a GPIO port when the balance of a Dogecoin address changes. I'm using the websocket API here and this websocket client. My code looks like this: from websocket import create_connection ws = create_connection("wss://ws.dogechain.info/inv") ws.send("op":"addr_sub", "addr":"dogecoin_address") result = ws.recv() print (result) ws.close() It's obviously not the final code, but I just wanted to see if I'm even able to connect to the websocket and get any kind of response. When I run that code, it throws errors because of the colons in the

Changing OpenSSL include path for qmake

☆樱花仙子☆ 提交于 2019-11-28 14:26:10
I want to build Dogecoin with qmake. It doesn't work with Fedora's OpenSSL because its OpenSSL doesn't have elliptic curve cryptography included. So I've got my own OpenSSL but I can't figure out how to change the dogecoin-qt.pro file to include an OpenSSL from a different location. Normally with make I would do this: $ export OPENSSL_INCLUDE_PATH="/usr/local/ssl/include" $ export OPENSSL_LIB_PATH="/usr/local/ssl/lib" qmake seems different, the file I need to change is here: https://github.com/dogecoin/dogecoin/blob/master/dogecoin-qt.pro How do I change it, or what arguments can I give to