Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/bitcore-cli/src/commands/txhistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export async function getTxHistory(
const timestamp = new Date(tx.time * 1000);
const time = compact ? Utils.formatDateCompact(timestamp) : Utils.formatDate(timestamp);
const txid = compact ? Utils.compactString(tx.txid) : tx.txid;
tokenObj = tokenObj && !compact ? { ...tokenObj, precision: tokenObj.decimals.short.maxDecimals } : tokenObj;
const amount = Utils.renderAmount(currency, tx.amount, tokenObj);
const confirmations = tx.confirmations || 0;
let direction = '';
Expand Down
56 changes: 56 additions & 0 deletions packages/bitcore-vault/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Build output
build/
*.js
*.js.map
*.d.ts

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/
.nyc_output

# Dependency directories
node_modules/

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# IDE files
.vscode/
.idea/
*.swp
*.swo
*~

# OS generated files
.DS_Store?
.DS_Store
.Trashes
ehthumbs.db
Thumbs.db

/artifacts
Loading