Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Hash Content RPC method#2355

Merged
gavofyork merged 5 commits into
masterfrom
ethcore-hash
Sep 27, 2016
Merged

Hash Content RPC method#2355
gavofyork merged 5 commits into
masterfrom
ethcore-hash

Conversation

@tomusdrw
Copy link
Copy Markdown
Collaborator

@tomusdrw tomusdrw commented Sep 27, 2016

Extracted fetching to separate crate (shared between rpc and dapps) + Added hardcoded limit on a filesize.
Closes #2244

@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Sep 27, 2016
@tomusdrw tomusdrw changed the title Ethcore hash content RPC method Hash Content RPC method Sep 27, 2016
assert_eq!(io.handle_request_sync(request), Some(response.to_owned()));
}

#[test]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bit iffy - generally best not to rely upon external web servers for unit tests. probably fine for now but should eventually replace with something more certain.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't rely on external server. See TestFetch implementation.

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Sep 27, 2016
@coveralls
Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 0380988 on ethcore-hash into * on master*.

@gavofyork gavofyork merged commit d7bbc5c into master Sep 27, 2016
@gavofyork gavofyork deleted the ethcore-hash branch September 27, 2016 14:27
jacogr added a commit that referenced this pull request Sep 29, 2016
* master:
  Fixing Delegate Call in JIT (#2378)
  Prioritizing re-imported transactions (#2372)
  Revert #2172, pretty much. (#2387)
  correct sync memory usage calculation (#2385)
  Update gitlab-ci
  Fix the traceAddress field in transaction traces. (#2373)
  Removing extras data from retracted blocks. (#2375)
  fixed #2263, geth keys with ciphertext shorter than 32 bytes (#2318)
  Expanse compatibility (#2369)
  Specify column cache sizes explicitly; default fallback of 2MB (#2358)
  Canonical state cache (master) (#2311)
  make block queue into a more generic verification queue and fix block heap size calculation (#2095)
  Hash Content RPC method (#2355)
  Reorder transaction_by_hash to favour canon search (#2332)
  DIV optimization (#2327)
  Error when deserializing invalid hex (#2339)
  Changed http:// to https:// on some links (#2349)
  add a test
  fix migration system, better errors

# Conflicts:
#	.gitlab-ci.yml
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants