Comments (3)
I added from config import log
which solves the NameError
but now getting other strange errors:
root@blockchainid:~# blockstore-cli get_consensus_at 385159
[DEBUG] [utils:40] (14105) ERROR in pretty print: expected string or buffer
null
root@blockchainid:~# nano +876 /usr/local/lib/python2.7/dist-packages/blockstore_client/utils.py
root@blockchainid:~# blockstore-cli get_consensus_at 385100
[DEBUG] [utils:40] (14111) ERROR in pretty print: No JSON object could be decoded
"f"
root@blockchainid:~# blockstore-cli get_consensus_at 385000
1
root@blockchainid:~# blockstore-cli get_consensus_at 384000
0
root@blockchainid:~#
from stacks.js.
get_nameops_at
also seems affected by this (or something similar)
root@blockchainid:~# blockstore-cli get_nameops_at 385000
[DEBUG] [utils:40] (14166) ERROR in pretty print: expected string or buffer
[]
root@blockchainid:~#
from stacks.js.
Here is the output of the two commands now:
(blockstore-client)muneeb@amsterdam:bin$ ./blockstore-cli get_consensus_at 384000
{
"result": "00bc6f1800ea01674bcad0fdad8a1839"
}
and
(blockstore-client)muneeb@amsterdam:bin$ ./blockstore-cli get_nameops_at 385000
{}
As, @jcnelson mentioned that we're going to take another pass over the JSON RPC interface. And will be improving return formats etc of individual RPC calls.
from stacks.js.
Related Issues (20)
- Feature Request: Generate Bitcoin Address in wallet-sdk
- serialize methods should always output string, and add Bytes/Raw version of methods used internally
- new bufferCV bug HOT 1
- React Native: Environment does not have randomBytes function HOT 2
- Feature request: stacking helper function for `verify-signer-key-sig`
- Fix ABI buffer encoding
- `bigint` arguments HOT 4
- Rename pox address helpers HOT 1
- Proper Documentation and Easy example for beginners on Bitcoin Stacks HOT 1
- Remove `logger` code and replace with `console.` HOT 1
- @stacks/cli using deprecated module `punycode`
- Support OrderIndependentMultisigSpendingCondition in stacks.js
- Add private module to monorepo for testing helpers
- Add order-independent multisig implementation HOT 1
- Rebuild CLI
- SPIKE: Docs-first refactor [3 days]
- API key header name doesn't match documented header name HOT 1
- Docs-first Refactor
- Support for Post Conditions with PrinicipalID type `Origin`
- Add a waitForTransactionFunction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stacks.js.