Questions tagged [hyperledger-sawtooth]

Hyperledger Sawtooth is an implementation of blockchain technology with the Proof of Elapsed time algorithm by default, use this tag for questions about this project.

Hyperledger Sawtooth is an implementation of blockchain technology with the Proof of Elapsed time algorithm by default, use this tag for questions about this project. Another good idea is to reach out to members of the community at https://chat.hyperledger.org/channel/sawtooth/. Documentation can be found at https://sawtooth.hyperledger.org/docs/core/releases/latest/contents.html.

219 questions
1
vote
1 answer

Protocol message had invalid UTF-8

Has anyone tried the sawtooth-java-sdk v1.0.3 to create events on the Hyperledger Sawtooth? I am getting the following exception com.google.protobuf.InvalidProtocolBufferException: Protocol message had invalid UTF-8. at…
runnercoder
  • 42
  • 1
  • 5
1
vote
2 answers

Problem when trying to put two sawtooth nodes on separated host

I'm new to sawtooth and I'm currently trying to put on two separated hosts (within the same LAN network for now) two sawtooth nodes. I've used the sawtooth-default-poet.yaml compose file from the docs as a starting point. As you can see from my…
1
vote
1 answer

How Hyperledger Sawtooth verifies transaction processor correctness

Hyperledger Sawtooth is using transaction processor to execute a transaction and validate state change. Since transaction processor an run an arbitrary code, how it gets validated? For example if it generates a random number for computation or…
Robert Zaremba
  • 8,081
  • 7
  • 47
  • 78
1
vote
1 answer

Devmode-engine-rust on Sawtooth running on Ubuntu 16.04

I want to install devmode-engine-rust on Sawtooth 1.0.5 running on Ubuntu 16.04. Standard installation using apt-get gives: sawtooth-devmode-engine-rust : Depends: libstdc++6 (>= 8.3.0) but 5.4.0-6ubuntu1~16.04.11 is to be installed Depends:…
DeltaL
  • 13
  • 3
1
vote
2 answers

What are the files that require backup (ledger) in sawtooth validator

What are the main set of files that are required for orchestration of new network from old data from old sawtooth network ( I don't want to extend old sawtooth network). I want to backup the essential files that are crucial for the operation of…
1
vote
1 answer

How to unit test a sawtooth hyperledger transaction processor

I having hard time figuring out how to run the unit tests of a sawtooth hyperledger transaction processor. I am following their documentation on this…
Shripada
  • 6,296
  • 1
  • 30
  • 30
1
vote
1 answer

How to subscribe to events in sawtooth hyperledger?

I am following the steps given in sawtooth hyperledger api doc to create a delta event subscriber. For some reason its not working and I see following in sawtooth logs [2019-07-18 18:14:41.003 INFO dispatch] received a message of type…
gsm1986
  • 83
  • 1
  • 8
1
vote
1 answer

How is it possible for a '(Hyperledger Sawtooth) transaction to exist in multiple blocks at a time'?

Below statement is from this documentation. Transaction receipts will only be stored in this off-chain store and will not be included in the block. Note that because a transaction may exist in multiple blocks at a time, the transaction receipt is…
1
vote
1 answer

What is the difference between encode and create functions in protobuf in Hyperledger Sawtooth?

When writing client application for Hyperledger Sawtooth, protobuf.Transaction.create() is used to create a Transaction and protobuf.TransactionHeader.encode() is used to create TransactionHeader. So what exactly is the difference between these…
1
vote
1 answer

ZMQ dealer does not receive message with asyncio

I'm setting up a listener for Hyperledger Sawtooth events with a pyzmq dealer socket and the provided asyncio functionality. Currently futures are returned but only sometimes finished, even though messages are sent to the Socket. Weirdly this works…
Gigi
  • 150
  • 1
  • 8
1
vote
1 answer

Updating addressing on a running Sawtooth application

I have an application (dev stage) running on one validator, one transaction processor and client. I would like to update the way I create addresses. If I change the way I create addresses, the old addresses won't be accessible. I would like to know…
Shivam Mutreja
  • 45
  • 1
  • 10
1
vote
2 answers

Is the Proof of Elapsed Time consensus mechanism in blockchains Byzantine Fault Tolerant?

I was looking at consensus mechanisms other than the common PoW and PoS, and found a scheme known as proof of elapsed time. I am struggling to find any research or proofs to show that this is in fact a Byzantine Fault Tolerant algorithm.
BOB
  • 47
  • 6
1
vote
1 answer

go build error while building sawtooth transaction processor on macos

I am trying to build sawtooth transaction processor on macos. The transaction processor is written in golang. When I do go build it throws the following error: go build # github.com/hyperledger/sawtooth-sdk-go/signing ld: library not found for…
Akshay Sood
  • 6,366
  • 10
  • 36
  • 59
1
vote
0 answers

Provably fair random number generator on hyperledger

I am developing a decentralized algorithm which is able to do a deterministic calculation based on input data and a given random seed. But how to achieve a provably fair and cryptographically secure pseudorandom number generator (CSPRNG) on…
1
vote
2 answers

Hyperledger Sawtooth nodes do not connect

I am setting up a Hyperledger Sawtooth network with four nodes on Ubuntu 16.04. I am using static peering. Here is an example validator.toml file: bind = [ "network:tcp://0.0.0.0:8800", "component:tcp://127.0.0.1:4004", …
Martijn Dirkse
  • 543
  • 7
  • 16