danintel / sawtooth-cookiejar Goto Github PK
View Code? Open in Web Editor NEWSimple Hyperledger Sawtooth Cookie Jar Application
License: Apache License 2.0
Simple Hyperledger Sawtooth Cookie Jar Application
License: Apache License 2.0
When doing the go generate the follow error appears:
Loading input failed: unsupported version of go: exit status 2: flag provided but not defined: -compiled
Hello Dan,
From your CookieJar example , i am trying to change the "from_key" value but keeping the namespace same as Family Name, i am not able to change the from_key value to another string - that i can encode and use. i get invalid key error - can you help?
return _hash(FAMILY_NAME.encode('utf-8'))[0:6] +
_hash(from_key.encode('utf-8'))
root@d044256bbb25:/project/cookiejar/pyclient# cookiejar.py bake 100 URL to send to REST API is http://rest-api:8008/batches [14:33:40 INFO connectionpool] Starting new HTTP connection (1): rest-api [14:33:40 DEBUG connectionpool] "POST /batches HTTP/1.1" 202 183 URL to send to REST API is http://rest-api:8008/batch_statuses?id=f37fd087f8cfdf73fa3a28d9773b99732c60a2a920fea10828cd4df499b10cca55dd76c086c8f4b28078a017f34734040130ed43666340fd2e72a5b4e8f4e73b&wait=10 [14:33:40 INFO connectionpool] Starting new HTTP connection (1): rest-api [14:33:50 DEBUG connectionpool] "GET /batch_statuses?id=f37fd087f8cfdf73fa3a28d9773b99732c60a2a920fea10828cd4df499b10cca55dd76c086c8f4b28078a017f34734040130ed43666340fd2e72a5b4e8f4e73b&wait=10 HTTP/1.1" 200 424 Bake Response: Transaction timed out after waiting 10 seconds.
Transaction Timed our error.
Any Solution on this??
When I tried the code
# Unsubscribe from events
request = client_event_pb2.ClientEventsUnsubscribeRequest()
appears to be unreachable. Maybe a second function to separate the while loop and the unsubscribe function would help?
when I executing cookiejar_tp.py in dev mode it shows error
Traceback (most recent call last):
File "cookiejar_tp.py", line 214, in <module>
main()
File "cookiejar_tp.py", line 210, in main
traceback.print_exc(file=sys.stderr)
NameError: name 'traceback' is not defined
traceback and sys should import on top of the file
import traceback
import sys
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.