code: func (self *AccountingApi) BytesCredit() (int64, error) {
  	if self.metrics == nil {
  		return 0, errNoAccountingMetrics
  	}
  	return mBytesCredit.Count(), nil
  }
docs: // BytesCredit returns total amount of bytes credited by local node