rubixchain / rubixgoplatform

GNU General Public License v3.0
8 stars 17 forks source link

read peerid from db and added tests #171

Closed harirubix closed 3 months ago

harirubix commented 3 months ago

Change the structure of entering node information for transferrbt and quorum list from peerid.did to did

The transferrbt command will be

./rubixgoplatform transferrbt -port 20000 -senderAddr bafybmiftqpvkq6sibrpjr3biallzbrmdwumlkwa37spo7iwdaxqpcpgdgm -receiverAddr bafybmiesr2x772guu7o4qfxywpdyqixlfcvpbocr4jgyij4ou2ff4l55aq -rbtAmount 1.0

A sample quorumlist.json file will look like


[
    {
        "type": 2,
        "address": "bafybmigrbkrtuu5nfc7jroz67lniyblydb4fntb55wevzn3764dy2jc6sm"
    },
    {
        "type": 2,
        "address": "bafybmifl33o4br2vhjtrwu4giglqdbouxs6jthbs5wo6nmhg2t65a7u77q"
    },
    {
        "type": 2,
        "address": "bafybmidytlbajqv66ezn6bcbjujlawrotg3na3iuqikjf5v7cbbjawdro4"
    },
    {
        "type": 2,
        "address": "bafybmic335nflx7ip4oosmf3j6kri6h4ilhw6dgey76mxpihyjxdckke5y"
    },
    {
        "type": 2,
        "address": "bafybmigjr3yvsqeohq7245log6hubrt5y3bicmjlondz3zstn2wnrxpofm"
    }
]