Hello,
I'd like to include the height of the block in PostgreSQL table blocks.
This is part of the code where blocks are persisted
if (share.foundBlock){
var shareId = result.rows[0].id;
db.query(
'INSERT INTO blocks(share_id, from_group, to_group, block_hash, worker, created_date, modified_date) VALUES($1, $2, $3, $4, $5, $6, $7)',
[shareId, share.job.fromGroup, share.job.toGroup, share.blockHash, share.workerAddress, new Date(), new Date()],
Thanks,
Jvx