04 2022 档案

摘要:https://asecuritysite.com/elgamal/go_elgamal https://www.youtube.com/watch?v=DRgeuJl86uY&ab_channel=BillBuchananOBE https://www.youtube.com/watch?v=Ex 阅读全文
posted @ 2022-04-29 20:56 铸剑非攻 阅读(54) 评论(0) 推荐(0)
摘要:package main import ( "bytes" "compress/gzip" "encoding/gob" "fmt" "io/ioutil" "log" "os") type Person struct { Name string Address Address} type Addr 阅读全文
posted @ 2022-04-27 23:35 铸剑非攻 阅读(556) 评论(0) 推荐(0)
摘要:自己这里的情况是在chaincode里用了加密,AES RSA等有随机数,每次对同一message加密结果会不一样(为了更加安全)。而hyperledger fabric里每个peer会执行一下chaincode,导致得到的结果不同,不deterministic,就导致proposal respon 阅读全文
posted @ 2022-04-27 23:23 铸剑非攻 阅读(294) 评论(0) 推荐(0)
摘要:加一个\ https://stackoverflow.com/questions/38977555/error-embedding-n-into-a-string-literal https://stackoverflow.com/questions/56522226/golang-json-unm 阅读全文
posted @ 2022-04-27 23:18 铸剑非攻 阅读(2106) 评论(0) 推荐(0)
摘要:可能原因: 1. struct的字段首字母没有大写。用json转换的话首字母都要大写。 2. 不同smart contract function分布在了不同文件夹。一个smart contract对应一个database,不同function要都写在同一个go文件里。 https://stackov 阅读全文
posted @ 2022-04-27 23:16 铸剑非攻 阅读(87) 评论(0) 推荐(0)
摘要:Error: endorsement failure during invoke. response: status:500 message:"error in simulation: failed to execute transaction 23051bda224b17ebd368c152415 阅读全文
posted @ 2022-04-25 23:21 铸剑非攻 阅读(960) 评论(0) 推荐(0)
摘要:Go to Preferences, then Playback and there's an option near the bottom that says "Show thumbnail previews on nav. bar". https://www.reddit.com/r/potpl 阅读全文
posted @ 2022-04-20 09:30 铸剑非攻 阅读(416) 评论(0) 推荐(0)
摘要:打开terminal 1. source ~/. bashrc 2. anaconda-navigator https://www.how2shout.com/linux/install-anaconda-on-ubuntu-20-04-lts-linux/ 阅读全文
posted @ 2022-04-15 21:15 铸剑非攻 阅读(361) 评论(0) 推荐(0)
摘要:除了在pcloud界面preference的general setting里勾选以外,把下载的程序也加入到Startup Applications里: 到应用中心里搜Startup Applications,把pcloud的程序添加进去 阅读全文
posted @ 2022-04-07 17:52 铸剑非攻 阅读(55) 评论(0) 推荐(0)
摘要:因为是在scale mode下 按host(默认是右边的ctrl键)+C退出scale mode 阅读全文
posted @ 2022-04-07 16:35 铸剑非攻 阅读(47) 评论(0) 推荐(0)
摘要:在view-virtual screen调整一下size进去再调整回来 https://www.youtube.com/watch?v=jS_ITd7s0wU&ab_channel=webpwnized 阅读全文
posted @ 2022-04-07 16:33 铸剑非攻 阅读(96) 评论(0) 推荐(0)