hyperledger-sawtooth

Hyperledger sawtooth JavaScript SDK:submitted batches are invalid

孤街浪徒 提交于 2019-12-11 00:44:24
问题 I am trying to implement hyperledger sawtooth transaction through javascript SDK following this https://sawtooth.hyperledger.org/docs/core/releases/1.0/_autogen/sdk_submit_tutorial_js.html#encoding-your-payload. /* *Create the transaction header */ const createTransactionHeader = function createTransactionHeader(payloadBytes) { return protobuf.TransactionHeader.encode({ familyName: 'intkey', familyVersion: '1.0', inputs: [], outputs: [], signerPublicKey:

How to deploy a hyperledger-sawtooth network with multiple validators?

青春壹個敷衍的年華 提交于 2019-12-05 05:21:05
问题 I'm trying to configure a sawtooth network with at least 2 Validators and some Transaction Processors. I'm using Ubuntu 18.04 so only possible solution is using docker. I searched entire day for a working example and still no luck. There is an example on the official website here but not working. The docker images versions is 1.1 which is weird, because there is no such version on docker hub. Furthermore it requires an image (hyperledger/sawtooth-poet-engine) which does not exist anywhere. I

How to deploy a hyperledger-sawtooth network with multiple validators?

こ雲淡風輕ζ 提交于 2019-12-03 22:19:58
I'm trying to configure a sawtooth network with at least 2 Validators and some Transaction Processors. I'm using Ubuntu 18.04 so only possible solution is using docker. I searched entire day for a working example and still no luck. There is an example on the official website here but not working. The docker images versions is 1.1 which is weird, because there is no such version on docker hub. Furthermore it requires an image (hyperledger/sawtooth-poet-engine) which does not exist anywhere. I know that the main validator should generate the keys and genesis block and the other validator[s]

Sawtooth Invalid Batch or Signature

十年热恋 提交于 2019-12-01 06:41:54
I have started playing atound with Hyperledger Sawtooth recently, and having trouble to submit transactions on java, while python code seems okay. I have prepared the python code based on the api docs here and then tried to write one in java as well. Below is the code in java import com.google.protobuf.ByteString; import com.mashape.unirest.http.Unirest; import sawtooth.sdk.processor.Utils; import sawtooth.sdk.protobuf.*; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.Signature; import java.security.spec.ECGenParameterSpec; public class BatchSender {

Sawtooth Invalid Batch or Signature

China☆狼群 提交于 2019-12-01 04:21:29
问题 I have started playing atound with Hyperledger Sawtooth recently, and having trouble to submit transactions on java, while python code seems okay. I have prepared the python code based on the api docs here and then tried to write one in java as well. Below is the code in java import com.google.protobuf.ByteString; import com.mashape.unirest.http.Unirest; import sawtooth.sdk.processor.Utils; import sawtooth.sdk.protobuf.*; import java.security.KeyPair; import java.security.KeyPairGenerator;