Class: JSON::Pure::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/bc.rb

Overview

This redefines Float() so that JSON floats will be returned as BigDecimals. This is neccessary because bitcoind returns Floats that are actually decimals with a precision of 8. FUCK YOU, bitcoind.