标签: quorum

Hyperledger Sawtooth与Quorum的并发性和速度

假设我在多个位置部署了50台机器,每台机器都有Linux作为操作系统.

这些机器没有持续的互联网连接,每2小时没有连接,它们有45分钟的Wi-Fi连接时间.

在这2小时内,机器通过IoT传感器获取数据,本地存储在JSON中.

当45分钟.互联网连接到来后,机器将数据发送到云服务器进行后处理.

在这个具体情况下,这个问题的目的是比较最好的DLT,以确保通过多个并发机器发送到云服务器的数据的可靠性.

非常感谢您提前,新年快乐.

iot hyperledger quorum

6
推荐指数
1
解决办法
852
查看次数

调用其余 API (/storeraw) 时出现 Tessera 跨源问题

我正在使用 tessera 在 Quorum 中执行私人交易。当从邮递员调用第三方(privateURL)API 时,我得到了预期的输出,但是当从其他服务器调用相同的 API 时,我得到了带有 200 状态代码的空响应(http://:9081/storeraw)。此问题的发生是由于 CORS。我已经检查过:

文件:///< HTML_PATH >

它正在发挥作用。

如何为 tessera 第三方 API 启用 CORS?

ethereum quorum

5
推荐指数
1
解决办法
128
查看次数

如何使用Quorum进行智能合约存储迁移?

我编写了一份没有可升级逻辑的智能合约,现在我想通过一些更改来更新相同的智能合约。是否可以将数据从旧合约存储复制到新合约存储?

blockchain solidity quorum

5
推荐指数
1
解决办法
92
查看次数

从 celery 禁用rabbitmq中的全局QoS

我使用三台 aws ec2 服务器创建了一个 RabbitMQ 3 节点集群。我正在尝试访问法定人数使用 celery 创建的当我连接时出现错误

raise error_for_code(reply_code, reply_text,
amqp.exceptions.AMQPNotImplementedError: Basic.consume: (540) NOT_IMPLEMENTED - queue 'Replica_que' in vhost '/' does not support global qos
Run Code Online (Sandbox Code Playgroud)

我想如果我禁用全局服务质量它会起作用,但我找不到在哪里可以做到这一点。如何禁用 celery 中的全局 qos?

我的芹菜代码

from celery import Celery
from time import sleep
import kombu


broker_uri=['amqp://xxxx:5672/', 'amqp://xxxx:5672/','amqp://xxx:5672/']
backend_uri="mongodb+srv://xxxxx"

app = Celery('TestApp', broker=broker_uri,backend=backend_uri)

app.config_from_object('celeryconfig')
app.conf.task_default_exchange='Replica_que'
app.conf.task_default_routing_key='Replica'

@app.task
def reverse(text):
    sleep(10)
    return text[:-1]

Run Code Online (Sandbox Code Playgroud)

和配置代码

from kombu import Queue

task_queues = [Queue(name="Replica_que", queue_arguments={"x-queue-type": "quorum"})]

task_routes = {
    'tasks.add': 'Replica_que',
}
Run Code Online (Sandbox Code Playgroud)

rabbitmq celery quorum

5
推荐指数
1
解决办法
1135
查看次数

General Question on how to use Quorum blockchain

I am very new to quorum programming. I already made some Smart Contracts with solidity on ethereum and made some dapps with Truffle, React and Metamask.

Now I did this Quorum Tutorial: https://truffleframework.com/tutorials/building-dapps-for-quorum-private-enterprise-blockchains

Before I get to the problem I have, I tell you what I am trying to do: Right now we have a database in our school, where the teacher can save the marks of the students, and the students can log in and see the marks they …

blockchain ethereum solidity quorum

4
推荐指数
1
解决办法
1000
查看次数

当我想将 remix 连接到本地仲裁网络时,我使用哪个端口?

我想在我的本地网络上部署智能合约。我通过执行本地节点

       PRIVATE_CONFIG=ignore nohup geth --datadir ./Node1/new- 
       node-1 
       --nodiscover --verbosity 5 --networkid 31337 --raft -- 
       raftport 51001 --rpc --rpcaddr 0.0.0.0 --rpcport 22101 -- 
       rpcapi 
       admin,db,eth,debug,miner,net,shh,txpool,personal,web3, 
       quorum,raft --emitcheckpoints --port 21101 2>>node1.log &
Run Code Online (Sandbox Code Playgroud)

我必须使用 localhost:\127.0.0.1:21101 或 22101?我想知道这两个端口之间的区别以及用途?

如果您不介意的话,还有一个问题:当我使用端口 21101 时,它无法连接,当我查阅节点日志时,我发现:

        Failed RLPx handshake addr=[::1]:42552  conn=inbound    
        err="read tcp [::1]:21102->[::1]:42552:  i/o timeout"
Run Code Online (Sandbox Code Playgroud)

blockchain ethereum quorum geth

1
推荐指数
1
解决办法
986
查看次数

标签 统计

quorum ×6

blockchain ×3

ethereum ×3

solidity ×2

celery ×1

geth ×1

hyperledger ×1

iot ×1

rabbitmq ×1