merge_rmp_valtx_nonvaltx_blockinfo: merge_rmp_valtx_nonvaltx_blockinfo

Description Usage Arguments Value Examples

Description

Merges the infos of the rawmempool with the validated and nonvalidated transactions and the blockinfo. This is done on a block by block basis.

Usage

1
2
merge_rmp_valtx_nonvaltx_blockinfo(blocknr, blockhash, blockinfo,
  writecsv = FALSE)

Arguments

blocknr

vector of blocknumbers for which to generate the merged files.

blockhash

vector of blockhashes corresponding to the blocknr.

blockinfo

data.frame, which contains data of the single blocks to be merged, created by get_blockinfo()

writecsv

logical, should a .csv file be created.

Value

returns a dataframe of the merged info of the last blocknr in the blocknr vector.

If writecsv = TRUE it creates a data.frame with the following columns: blocknr, validated, time, height, fee, size, blocksize, blockweight, blocktime, difficulty, nr_tx_rmp, nr_tx_vtx, file_creation_time, nr_obs_valtx

Examples

1
2
3
4
## Not run: 
merge_rmp_valtx_nonvaltx_blockinfo(blocknr = blocknr, blockhash = blockhash, writecsv = TRUE)

## End(Not run)

thomas-hillebrand/bcdataprep_node documentation built on May 7, 2019, 9:40 a.m.