BurstProject / burstcoin

MIT License
78 stars 257 forks source link

GetBlocks includeTransactions: false doesnt work #20

Open Pascal66 opened 7 years ago

Pascal66 commented 7 years ago
request.post({
        url: getWalletUrl(),
        form: {
            requestType: 'getBlocks',
            firstIndex: 0,
            lastIndex: 10,
            includeTransactions: false
        }
    }

return :


"{"blocks":[  
   {  
      "previousBlockHash":"23a8066b808912b6e2a836040b4d0421519466d13da0dbd1e19a7a8026b88f3c",
      "payloadLength":2640,
      "totalAmountNQT":"2194209999995",
      "generationSignature":"f3c21490c21f4daaf9c0b9cb44333f3f443cecdadfb91d650184ef10e37e38e0",
      "generator":"3416285700457499085",
      "generatorPublicKey":"0f6e5c01ae66a91bd349d1bd3d9155b7c3bbd25c88fe75ef2625194424901e4b",
      "baseTarget":"1016651",
      "payloadHash":"c17f53f61939fd79d2ec4ac664d6fd5eda0468391889aa1035bb2fdf96de3cd4",
      "generatorRS":"BURST-A4GF-RU7J-8WHF-4PAUY",
      "blockReward":"2146",
      "scoopNum":1897,
      "numberOfTransactions":15,
      "blockSignature":"d7c8aebea3e093f062198905eb7db9ca36fc49238fd7bd3004ebe4122ab7e1038bc922bca291e685e0fec14a6e9339f4333b3804d5ff03d0badd42a5ddbe4469",
      "transactions":[  
         "9793643894828539849",
         "10663407126371979083",
         "11234769330484932930",
         "12389484784168942677",
         "14088049378511745241",
         "14890284735310737242",
         "17004900017657612220",
         "338627444099488674",
         "781092564920549793",
         "3511339139056771728",
         "3893400204862242976",
         "5483926921190547933",
         "5695817492696741514",
         "5707742474469806729",
         "7204697310469009401"
      ],
      "nonce":"16231759",
      "version":3,
      "totalFeeNQT":"1600000000",
      "previousBlock":"13119699849128093731",
      "block":"9926724658778808024",
      "height":332263,
      "timestamp":80370195
   },