Can I get the same stats as are on blockchain.info and btc.com by running a full node? There seem to be some discrepancies between blockchain.info and btc.com, specifically I am looking to extract the following info:


"Relayed By", there was a block that was listed as unknown on blockchain.info and showed as "relayed by" by specific mining pool on btc.com
Is there a way to figure out hash rate of specific mining pool as a % of total in the real time.
"Relayed By"


Bitcoin Core doesn't track which node relayed a transaction, and I doubt most other nodes do either.  In addition, this information is likely to be different for different nodes as each one may first receive a transaction from a different peer.


  figure out hash rate of specific mining pool as a % of total in the real time


Full nodes don't have the information necessary to determine anything about mining in real time as they only receive information about blocks when those blocks are distributed (on average every 10 minutes, but with high variance).  Because block finding is so variable, it's additionally necessary to average results over large numbers of blocks to get reasonably accurate numbers, meaning the statistics you typically see are either trailing actual block production by several days or are probably quite inaccurate.

In addition, miners don't have to identify themselves in the blocks they create, and the way they do optionally identify themselves is not standardized, so no stock full node provides any method for telling you which miner created which block.